Beispiel #1
0
    void Start()
    {
        database = new UTDDatabase();
        StateStack.Push(new LogInGameState(this.GetComponent <NetworkManager>()));
        ((LogInGameState)StateStack.Peek()).backgroundTexture = backgroundTexture;

        //StateStack.Push (new LobbyGameState(this));
    }
    void Start()
    {
        database = new UTDDatabase();
        StateStack.Push(new LogInGameState(this.GetComponent<NetworkManager>()));
        ((LogInGameState)StateStack.Peek()).backgroundTexture = backgroundTexture;

        //StateStack.Push (new LobbyGameState(this));
    }