Example #1
0
 public void SkipAttackToEnd()
 {
     if (m_currentAttack != null)
     {
         m_currentAttack.OnInterrupt(0, true, new HitInfo());
     }
     EndAttack();
 }
Example #2
0
 public void RegisterStun(float st, bool defaultStun, Hitbox hb)
 {
     if (defaultStun)
     {
         StartHitState(st);
     }
     if (m_currentAttack != null)
     {
         m_currentAttack.OnInterrupt(StunTime, defaultStun, hb);
     }
 }