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