Decay
A class in Root.Township, Alta.PAGaC.
PAGaC generation step that turns cells to air using 3D simplex noise, with more decay higher up, to make structures look ruined.
- Listed in World generation
- Inherits or implements
GenerationStep
Constructors
| Member | What it is |
|---|---|
Decay() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
4 private and internal fields
Methods
| Member | What it is |
|---|---|
override void Run(GenerationBase generationBase) | Sets every cell whose scaled noise plus height bonus is over decayLimit to the air tag, with a fresh random noise seed. |