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