public void SwitchTurn(Common.ETurnType turn) { TransitionTurnMsg msg = new TransitionTurnMsg(); msg.targetTurn = turn; m_TurnFSM.SwitchToState(TurnDefines.TRANSITION_TURN, msg); }
public void SwitchScene(int sceneId, IMessage param = null) { m_SceneFSM.SwitchToState(sceneId, param); }