23 lines
588 B
C#
23 lines
588 B
C#
using FSM;
|
|
namespace YiLiao.JingMaiLiuZhiZhen
|
|
{
|
|
public class ZhiShiHuiGuState : FsmState<FSMManager>
|
|
{
|
|
public override void OnStateEnter()
|
|
{
|
|
base.OnStateEnter();
|
|
if(fsm.main_gameModel.modeType == ZXKFramework.ModeType.KaoHe)
|
|
{
|
|
fsm.nextState = true;
|
|
return;
|
|
}
|
|
GameManager.Instance.uiManager.GetUI<BookPanel>().ShowBook("1");
|
|
}
|
|
public override void OnStateExit()
|
|
{
|
|
base.OnStateExit();
|
|
fsm.nextState = false;
|
|
}
|
|
}
|
|
}
|