2025-09-09 15:06:44 +08:00
|
|
|
|
using FSM;
|
|
|
|
|
|
using ZXKFramework;
|
|
|
|
|
|
namespace DongWuYiXue.DaoNiaoShu
|
|
|
|
|
|
{
|
|
|
|
|
|
public class YiShengZhunBeiState : FsmState<FSMManager>
|
|
|
|
|
|
{
|
|
|
|
|
|
public override void OnStateEnter()
|
|
|
|
|
|
{
|
|
|
|
|
|
base.OnStateEnter();
|
|
|
|
|
|
this.Log("<22><><EFBFBD><EFBFBD>ҽ<EFBFBD><D2BD><EFBFBD><D7BC>״̬");
|
|
|
|
|
|
fsm.ShowCamera("WuPinZhunBei_Camera");
|
|
|
|
|
|
if (fsm.main_gameModel.modeType == ModeType.ShiXun)
|
|
|
|
|
|
{
|
2025-09-25 11:30:06 +08:00
|
|
|
|
fsm.ShowDragQuestion("<22><><EFBFBD><EFBFBD>ǰ<C7B0><D7BC><EFBFBD><EFBFBD>ҽ<EFBFBD><D2BD><EFBFBD><D7BC>",0, 0, 5, () =>
|
2025-09-09 15:06:44 +08:00
|
|
|
|
{
|
|
|
|
|
|
fsm.nextState = true;
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
2025-09-15 16:33:25 +08:00
|
|
|
|
if (fsm.main_gameModel.modeType == ModeType.KaoHe)
|
|
|
|
|
|
{
|
2025-09-25 11:30:06 +08:00
|
|
|
|
fsm.ShowDragQuestion("<22><><EFBFBD><EFBFBD>ǰ<C7B0><D7BC><EFBFBD><EFBFBD>ҽ<EFBFBD><D2BD><EFBFBD><D7BC>",0, 0, 5, () =>
|
2025-09-15 16:33:25 +08:00
|
|
|
|
{
|
|
|
|
|
|
fsm.nextState = true;
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
2025-09-09 15:06:44 +08:00
|
|
|
|
}
|
|
|
|
|
|
public override void OnStateStay()
|
|
|
|
|
|
{
|
|
|
|
|
|
base.OnStateStay();
|
|
|
|
|
|
}
|
|
|
|
|
|
public override void OnStateExit()
|
|
|
|
|
|
{
|
|
|
|
|
|
base.OnStateExit();
|
|
|
|
|
|
fsm.nextState = false;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|