using FSM; using ZXKFramework; namespace DongWuYiXue.QiGuanChaGuan { public class XuanZeHouJingChiCunState : FsmState { public override void OnStateEnter() { base.OnStateEnter(); this.Log("½øÈëÑ¡Ôñºí¾µ³ß´ç״̬"); fsm.ShowCamera("Ñ¡Ôñºí¾µ³ß´ç_Camera"); if (fsm.main_gameModel.modeType == ModeType.ShiXun) { fsm.ShowImgQuestion(1, 5, 0, () => { fsm.nextState = true; }); } if (fsm.main_gameModel.modeType == ModeType.KaoHe) { fsm.ShowImgQuestion(1, 3, 0, () => { fsm.nextState = true; }); } } public override void OnStateStay() { base.OnStateStay(); } public override void OnStateExit() { base.OnStateExit(); fsm.nextState = false; } } }