Fight/GameActor/GA_Hero.cs
@@ -22,6 +22,25 @@ // } //} public static event UnityAction<float> OnStateEnter; public static event UnityAction OnStateEnd; public static void CallOnStateEnter(float length) { if (OnStateEnter != null) { OnStateEnter(length); } } public static void CallOnStateEnd() { if (OnStateEnd != null) { OnStateEnd(); } } /// <summary> /// 当切换锁定目标的时候, 为空的时候id=0 /// </summary>