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