using FSM; using ZXKFramework; namespace DongWuYiXue.QiGuanChaGuan { public class XuanZeTiWeiState : FsmState { public override void OnStateEnter() { base.OnStateEnter(); this.Log("进入选择体位状态"); fsm.ShowCamera("选择体位_Camera"); if (fsm.main_gameModel.modeType == ModeType.ShiXun) { fsm.ShowImgQuestion(3, 5, 0, () => { fsm.nextState = true; }); } if (fsm.main_gameModel.modeType == ModeType.KaoHe) { fsm.ShowImgQuestion(3, 4, 0, () => { fsm.ShowTxtQuestion(2, 3, 1, () => { fsm.nextState = true; }); }); } } public override void OnStateStay() { base.OnStateStay(); } public override void OnStateExit() { base.OnStateExit(); fsm.nextState = false; } } }