public void AddCoin(GemCollector coinObj) { if (!coinList.Contains(coinObj)) { coinList.Add(coinObj); } }
// Start is called before the first frame update void Start() { if (instance == null) { instance = this; } }
public void AddCoin(GemCollector coinObj) { if (!coinList.Contains(coinObj)) { coinList.Add(coinObj); } }
// Start is called before the first frame update void Start() { if (instance == null) { instance = this; } }