void Awake() { m_BattleFSM.Initialize(Callback_ReadyState, Callback_WaveState, Callback_GameState, Callback_ResultState); }
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(); }
public void InitFSM() { if (m_BattleFSM == null) { m_BattleFSM = new BattleFSM(); m_BattleFSM.Initialize(Callback_ReadyEnter, Callback_WaveEnter, Callback_GameEnter, Callback_ResultEnter); } }
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(); }
public void InitBattleFsm() { this.CloseBattleFsm(); battleFsm = new BattleFSM(); battleFsm.Initialize(); }