using FSM; namespace YiLiao.XinFeiTingZhen { public class JianJiaXiaQu : FsmState { public override void OnStateEnter() { base.OnStateEnter(); fsm.ShowTip(0); fsm.PlayBgm(0); GameManager.Instance.multiObjectController.RotateAllTo180(() => { fsm.ShowArrow("点击“两肩胛下角的连线与第12胸椎水平线之间区域”", "两肩胛下角的连线与第12胸椎水平线之间区域", 0, 999); fsm.Show_Light_EnableInteraction("两肩胛下角的连线与第12胸椎水平线之间区域"); }); fsm.InteractionDown("两肩胛下角的连线与第12胸椎水平线之间区域", obj => { fsm.HideArrow(); fsm.InteractionDown("两肩胛下角的连线与第12胸椎水平线之间区域", null); fsm.Unlight_DisableInteraction("两肩胛下角的连线与第12胸椎水平线之间区域"); fsm.AddScore(0, 0.5f); fsm.PlayClip("肩胛下区动画", () => { fsm.nextState = true; }); }); } public override void OnStateStay() { base.OnStateStay(); } public override void OnStateExit() { base.OnStateExit(); fsm.nextState = false; } } }