少年修仙传客户端代码仓库
client_Hale
2019-04-11 852d0ae1e09bc83215d73cdd1387e30b9191ea21
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>