예제 #1
0
 void Awake()
 {
     m_BattleFSM.Initialize(Callback_ReadyState,
                            Callback_WaveState,
                            Callback_GameState,
                            Callback_ResultState);
 }
예제 #2
0
 public void Initialize()
 {
     m_HairMgr.Initialize();
     m_HudUI.Initialize();
     m_GameUI.Initialize();
     BtlFSM.Initialize(OnEnter_ReadyState, OnEnter_WaveState, OnEnter_GameState);
 }
    private void Start()
    {
        m_BattleFSM.Initialize(Callback_ReadyEnter, Callback_WaveEnter, Callback_GameEnter, Callback_ResultEnter);
        GameMgr.Inst.SetGameScene(this);

        m_BattleFSM.SetReadyState();
    }
예제 #4
0
파일: GameScene.cs 프로젝트: kus09114/Dodge
 public void InitFSM()
 {
     if (m_BattleFSM == null)
     {
         m_BattleFSM = new BattleFSM();
         m_BattleFSM.Initialize(Callback_ReadyEnter, Callback_WaveEnter, Callback_GameEnter, Callback_ResultEnter);
     }
 }
예제 #5
0
파일: GameScene.cs 프로젝트: leehusd/Dodge5
    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();
    }
예제 #6
0
 public void InitBattleFsm()
 {
     this.CloseBattleFsm();
     battleFsm = new BattleFSM();
     battleFsm.Initialize();
 }