예제 #1
0
 public void registerStun(float st, bool defaultStun, Hitbox hb)
 {
     if (defaultStun)
     {
         startHitState(st);
     }
     if (m_currentAttack != null)
     {
         m_currentAttack.onInterrupt(stunTime, defaultStun, hb);
     }
 }
예제 #2
0
 public void registerStun(float st, bool defaultStun, hitbox hb)
 {
     if (defaultStun)
     {
         //Debug.Log ("stunning?");
         startHitState(st);
     }
     if (currentAttack != null)
     {
         currentAttack.onInterrupt(stunTime, defaultStun, hb);
     }
 }