Пример #1
0
 public static void AddAmmo(int amount)
 {
     currentAmmo = Mathf.Clamp(currentAmmo + amount, 0, defaultMaxAmmo);
     player.PlayAmmoSound();
 }