internal Game(IList<Player> players, IList<CardCode> supplies) { _players.AddRange(players); SupplyMan = new SuppliesManager(this, supplies); TurnMan = new TurnManager(this, true); }
void Awake() { if (instance == null) { instance = this; } else if (instance != this) { Destroy(gameObject); } DontDestroyOnLoad(gameObject); }
public PlayContext(Game game, Turn turn, SuppliesManager suppliesManager) { _game = game; Turn = turn; }
private void Awake() { current = this; DontDestroyOnLoad(this); }