Beispiel #1
0
 void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
 }
Beispiel #2
0
    void Start()
    {
        Application.runInBackground = true;

        connectionManager.Init(true, Constants.SERVER_ADDRESS, Constants.SERVER_PORT);

        maxController = MaxController.Instance;
    }
Beispiel #3
0
 void OnDestroy()
 {
     Instance = null;
 }