void SetupSingleton() { if (instance == null) { instance = this; } else if (instance != this) { Destroy(gameObject); } }
public void TeamBan(Team t, Response r) { for (int i = 0; i < ChampionPool.Count; i++) { if (r.ChampionName == ChampionPool[i].Name) { t.BanChampion(ChampionPool[i]); ChampionPool.RemoveAt(i); break; } } }
private void Start() { _pool = ChampionPool.instance; Roll(); }