This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.HashMap; | |
| import java.util.Map; | |
| public final class ServiceLocator { | |
| private static final Map<Class<?>, Object> services = new HashMap<>(); | |
| private ServiceLocator() { | |
| // | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Server Sent Events Client for Unity | |
| */ | |
| using System.IO; | |
| using System.Net.Http; | |
| using System.Threading; | |
| using UnityEngine; | |
| using UnityEngine.Events; | |
| public class SSEClient : MonoBehaviour |