Пример #1
0
    protected override void OnDestroy()
    {
        m_GameState  = null;
        m_LobbyState = null;

        base.OnDestroy();
    }
Пример #2
0
    protected override void Awake()
    {
        base.Awake();

        m_LobbyState = FindState("Lobby") as snSceneFSMState_Lobby;
        m_GameState  = FindState("Game") as snSceneFSMState_Game;
    }