using FSM; namespace YiLiao.XinFeiTingZhen { public class LeiGu11_12 : FsmState { public override void OnStateEnter() { base.OnStateEnter(); fsm.ShowTip(0); fsm.PlayBgm(0); GameManager.Instance.multiObjectController.RotateAllTo180(() => { fsm.ShowArrow("µã»÷¡°11-12À߹ǡ±", "Àß¹Ç11-12×ó", 0, 999); fsm.Light_EnableInteraction("Àß¹Ç11-12×ó"); fsm.Light_EnableInteraction("Àß¹Ç11-12ÓÒ"); }); fsm.InteractionDown("Àß¹Ç11-12×ó", args => { fsm.Unlight_DisableInteraction("Àß¹Ç11-12×ó"); fsm.InteractionDown("Àß¹Ç11-12×ó", null); fsm.Unlight_DisableInteraction("Àß¹Ç11-12ÓÒ"); fsm.InteractionDown("Àß¹Ç11-12ÓÒ", null); fsm.AddScore(0, 0.5f); fsm.HideArrow(); fsm.PlayClip("Àß¹Ç11-12¶¯»­", () => { fsm.nextState = true; }); }); fsm.InteractionDown("Àß¹Ç11-12ÓÒ", args => { fsm.Unlight_DisableInteraction("Àß¹Ç11-12×ó"); fsm.InteractionDown("Àß¹Ç11-12×ó", null); fsm.Unlight_DisableInteraction("Àß¹Ç11-12ÓÒ"); fsm.InteractionDown("Àß¹Ç11-12ÓÒ", null); fsm.AddScore(0, 0.5f); fsm.HideArrow(); fsm.PlayClip("Àß¹Ç11-12¶¯»­", () => { fsm.nextState = true; }); }); } public override void OnStateExit() { base.OnStateExit(); fsm.nextState = false; } } }