CircularSpawnPointGenerator
A class in Root.Township, Alta.Populations.
A spawn area that gives random points in a flat circle around its transform. Height is the transform's, with no ground check.
- Listed in World generation
- Inherits or implements
SpawnAreaBase - Documented in Populations and spawners
Constructors
| Member | What it is |
|---|---|
CircularSpawnPointGenerator() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
Methods
| Member | What it is |
|---|---|
override Vector3 GetRandomSpawnPosition() | A random point inside the circle of radius around the transform, at the transform's height. |