A class in Root.Township, Alta.Forests.
Spawns a population folder in each forest chunk as it generates, sized to the chunk area.
Constructors
| Member | What it is |
|---|
ForestPopulationCreator() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
Methods
2 private and internal methods
| Member | What it is |
|---|
private void Awake() | Hooks the parent forest generator's GeneratedDynamic. |
private void Create(LocationChunk chunk) | Spawns the prefab in the chunk and sets up its BasicPopulationFolder as an ecosystem. |