Exemplo n.º 1
0
 public void TakeWeapon(IWeapon newWeapon)
 {
     if (weapon != null)
     {
         weapon.Desactivate();
     }
     else
     {
         animator.SetBool("CarryingWeapon", true);
     }
     weapon = newWeapon;
     weapon.PlaceInHand(weaponPlacement);
 }