/// <summary> /// /// </summary> /// <param name="e"></param> void OnAnimationBodyBox(AnimationEvent e) { if (_bodyBoxMethod != null) { _bodyBoxMethod.Invoke(this.transform, e); } }
/// <summary> /// /// </summary> /// <param name="e"></param> void OnAnimationAttackStart(AnimationEvent e) { Debug.LogError("OnAnimationAttackStart"); if (_attackStartMethod != null) { _attackStartMethod.Invoke(this.transform, e); } }