private void Awake() { if (instance == null) { instance = this; } else if (instance != null) { Destroy(gameObject); } DontDestroyOnLoad(gameObject); deseeder = new SeedDeserializer(); _seedCollection = deseeder.DeserializeSeeds(); this.GenerateTiles(); }
//public Tile GrassTileExample; SeedManager() { deseeder = new SeedDeserializer(); _seedCollection = deseeder.DeserializeSeeds(); }