Exemplo n.º 1
0
 public void DecreaseStaminaPerSecond(float decrease)
 {
     CurrentStamina = Mathf.Clamp(CurrentStamina - (decrease * Time.deltaTime), 0, stats.MaxStamina);
     statsManager.SetStaminaBar(CurrentStamina);
 }