A class in Root.Township, the global namespace.
Scene component that defines a sphere of a forest biome at its position, turned into a BiomeSphere for generation.
Constructors
| Member | What it is |
|---|
BiomeSphereComponent() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
4 private and internal fields
| Member | What it is |
|---|
private ForestBiome biome | The forest biome this sphere applies. |
private float radius | Sphere radius (5 by default). |
private int seed | Seed passed to the biome sphere. |
private float strength | Biome strength (1 by default). |
Methods
1 private and internal method
| Member | What it is |
|---|
private void OnDrawGizmosSelected() | Editor: draws the sphere in the biome's colour. |