Пример #1
0
 public void AddCoin(GemCollector coinObj)
 {
     if (!coinList.Contains(coinObj))
     {
         coinList.Add(coinObj);
     }
 }
Пример #2
0
 // Start is called before the first frame update
 void Start()
 {
     if (instance == null)
     {
         instance = this;
     }
 }