A class in Root.Township, the global namespace.
Generation part that turns the object to face along its forest path, kept level.
Constructors
| Member | What it is |
|---|
AlignWithPath() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|
private AlignWithPath.Hill hill | Which way to face: either, uphill or downhill. |
Methods
| Member | What it is |
|---|
override void GenerateStatic(GenerationCore core, bool isModifyingTerrain) | Faces the object along the spawn edge's path (or the node's first path), flat on the ground, uphill or downhill as set. |