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