Example #1
0
    // stop attack, called in update method or checkAttack
    private void stopAttack()
    {
        if (!attacking)
        {
            return;
        }

        SetTrailOnOff(false);
        armActualAttack.DisableTrigger();
        armActualAttack   = null;
        airAttackJustDone = false;
        attacking         = false;
    }
Example #2
0
 public void DisableSword()
 {
     Sword.DisableTrigger();
 }