Exemplo n.º 1
0
    void Start()
    {
        GameMgr.Inst.SetGameScene(this);
        m_BattleFSM.Initialize(OnCallback_ReadyEnter,
                               OnCallback_WaveEnter,
                               OnCallback_GameEnter,
                               OnCallback_ResultEnter);
        m_BattleFSM.SetCallback_GameStateOnExit(OnCallback_GameOnExit);

        m_BattleFSM.SetReadyState();
    }
    private void Start()
    {
        m_BattleFSM.Initialize(Callback_ReadyEnter, Callback_WaveEnter, Callback_GameEnter, Callback_ResultEnter);
        GameMgr.Inst.SetGameScene(this);

        m_BattleFSM.SetReadyState();
    }
Exemplo n.º 3
0
 void InvokeCallback_Ready()
 {
     m_BattleFSM.SetReadyState();
 }