public static void AddAmmo(int amount) { currentAmmo = Mathf.Clamp(currentAmmo + amount, 0, defaultMaxAmmo); player.PlayAmmoSound(); }
public static void AddAmmo(int amount) { currentAmmo = Mathf.Clamp(currentAmmo + amount, 0, defaultMaxAmmo); player.PlayAmmoSound(); }