void Awake() { if (Instance == null) { Instance = this; } }
void Start() { Application.runInBackground = true; connectionManager.Init(true, Constants.SERVER_ADDRESS, Constants.SERVER_PORT); maxController = MaxController.Instance; }
void OnDestroy() { Instance = null; }