private void OnDestroy() { if (instance == this) { instance = null; } }
void Awake() { if (instance == null) { instance = this; } else { Destroy(this); } // TODO: Generate based on players. //InitializeGame(GameFlow.Instance.PlayerInfo.Count); InitializeGame(1); }