28 lines
797 B
C#
28 lines
797 B
C#
using FSM;
|
|
namespace YiLiao.XinFeiTingZhen
|
|
{
|
|
public class TingZhenXinYinFangFaState : FsmState<FSMManager>
|
|
{
|
|
public override void OnStateEnter()
|
|
{
|
|
base.OnStateEnter();
|
|
fsm.PlayBgm(0);
|
|
fsm.ShowTip(0);
|
|
fsm.Show_Light_EnableInteraction("左前肢");
|
|
fsm.InteractionDown("左前肢", obj => {
|
|
fsm.InteractionDown("左前肢", null);
|
|
fsm.Hide_Unlight_DisableInteraction("左前肢");
|
|
fsm.PlayClip("听诊心音方法", () => {
|
|
fsm.StopBgm();
|
|
fsm.nextState = true;
|
|
});
|
|
});
|
|
}
|
|
public override void OnStateExit()
|
|
{
|
|
base.OnStateExit();
|
|
fsm.nextState = false;
|
|
}
|
|
}
|
|
}
|