Exemplo n.º 1
0
 public static void UpdateCurrentCurrencyValue(int changeValue)
 {
     currenctCurrency = Mathf.Clamp((currenctCurrency += changeValue), 0, PlayerSkills.GetMaxCurrencyValue());
 }
Exemplo n.º 2
0
 public static void SetCurrentCurrencyValue(int newValue)
 {
     currenctCurrency = Mathf.Clamp(newValue, 0, PlayerSkills.GetMaxCurrencyValue());
 }