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