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