SafetySpline
A class in Root.Township, the global namespace.
Forest generation part that adds a terrain spline along the side of a path edge where the ground drops away, probably as a safety barrier.
- Listed in Global namespace: S
- Inherits or implements
TerrainSpline - Attributes
AddComponentMenu
Constructors
| Member | What it is |
|---|---|
SafetySpline() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
override void GenerateStatic(GenerationCore core, bool isModifyingTerrain) | Checks the neighbouring paths at both ends of the edge and builds the spline offset to each side where the drop exceeds fallMinimum. |