Esempio n. 1
0
 public void RemoveCoin(Coin coin)
 {
     coins.Remove(coin);
     ExecuteEvents.Execute <ICoinTrayHandler>(gameObject, null, (x, y) => x.OnCoinRemoved());
 }
Esempio n. 2
0
 public bool Contains(Coin coin)
 {
     return(coin.Tray == this);
 }
Esempio n. 3
0
 public void PushCoin(Coin coin)
 {
     coins.Add(coin);
     ExecuteEvents.Execute <ICoinTrayHandler>(gameObject, null, (x, y) => x.OnCoinAdded());
 }