Beispiel #1
0
 public static void ToChangeAmountOfGold(int changeNumber)
 {
     AmountOfGold += changeNumber;
     OnChangeGold?.Invoke(AmountOfGold);
 }
Beispiel #2
0
 private void Start()
 {
     OnChangeGold?.Invoke(AmountOfGold);
 }