Esempio n. 1
0
 void Start()
 {
     _game   = gameObject.GetComponent <MainProxy>();
     _sim    = gameObject.GetComponent <WorldSimulation>();
     _uiHook = FindObjectOfType <CheatMenuHook>();
     _uiHook.hideContent();
 }
Esempio n. 2
0
        void Start()
        {
            state = GameState.AWAITING_CONNECT;

            _connection = gameObject.AddComponent <Connection>();
            _loginMenu  = gameObject.AddComponent <LoginScreenLogic>();
            _cheatMenu  = gameObject.AddComponent <CheatMenuLogic>();
            _simulation = gameObject.AddComponent <WorldSimulation>();
            _abil       = FindObjectOfType <AbilitiesMenuHook>();
            _abil.hide();
        }