28 lines
797 B
C#
Raw Normal View History

2025-09-19 17:28:05 +08:00
using FSM;
2025-09-22 17:41:04 +08:00
namespace YiLiao.XinFeiTingZhen
2025-09-19 17:28:05 +08:00
{
2025-09-22 17:41:04 +08:00
public class TingZhenXinYinFangFaState : FsmState<FSMManager>
2025-09-19 17:28:05 +08:00
{
public override void OnStateEnter()
{
base.OnStateEnter();
2025-09-23 16:42:10 +08:00
fsm.PlayBgm(0);
fsm.ShowTip(0);
fsm.Show_Light_EnableInteraction("<22><>ǰ֫");
fsm.InteractionDown("<22><>ǰ֫", obj => {
fsm.InteractionDown("<22><>ǰ֫", null);
fsm.Hide_Unlight_DisableInteraction("<22><>ǰ֫");
fsm.PlayClip("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", () => {
fsm.StopBgm();
fsm.nextState = true;
});
});
2025-09-19 17:28:05 +08:00
}
public override void OnStateExit()
{
base.OnStateExit();
2025-09-23 16:42:10 +08:00
fsm.nextState = false;
2025-09-19 17:28:05 +08:00
}
}
}