SpawnAreaBase
An abstract class in Root.Township, Alta.Populations.
Base for components that give a random spawn position, such as CircularSpawnPointGenerator.
- Listed in World generation
- Inherits or implements
MonoBehaviour - Derived types
CircularSpawnPointGenerator - Documented in Populations and spawners
Constructors
| Member | What it is |
|---|---|
protected SpawnAreaBase() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Methods
| Member | What it is |
|---|---|
abstract Vector3 GetRandomSpawnPosition() | A random world position inside the area. |