using FSM; using ZXKFramework; namespace DongWuYiXue.DaoNiaoShu { public class WuPinZhunBeiState : FsmState { public override void OnStateEnter() { base.OnStateEnter(); this.Log("进入物品准备状态"); fsm.ShowCamera("WuPinZhunBei_Camera"); if (fsm.main_gameModel.modeType == ModeType.ShiXun) { fsm.ShowImgQuestion(0, 3, 0, () => { fsm.nextState = true; }); } if (fsm.main_gameModel.modeType == ModeType.KaoHe) { fsm.ShowImgQuestion(0, 3, 0, () => { fsm.nextState = true; }); } } public override void OnStateStay() { base.OnStateStay(); } public override void OnStateExit() { base.OnStateExit(); fsm.nextState = false; } } }