30 lines
867 B
C#
Raw Normal View History

2025-09-09 15:06:44 +08:00
using FSM;
using ZXKFramework;
namespace DongWuYiXue.DaoNiaoShu
{
public class ZhiShiHuiGuState : FsmState<FSMManager>
{
public override void OnStateEnter()
{
base.OnStateEnter();
this.Log("<22><><EFBFBD><EFBFBD>֪ʶ<D6AA>ع<EFBFBD>״̬");
fsm.ShowCamera("StartCamera");
if (fsm.main_gameModel.modeType == ModeType.KaoHe) fsm.nextState = true;
if (fsm.main_gameModel.modeType == ModeType.ShiXun)
{
GameManager.Instance.uiManager.GetUI<BookPanel>().ShowBook("1");
}
}
public override void OnStateStay()
{
base.OnStateStay();
}
public override void OnStateExit()
{
base.OnStateExit();
GameManager.Instance.uiManager.CloseUI<BookPanel>();
fsm.nextState = false;
}
}
}