Example #1
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();
        }
Example #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 ();
        }