PopulationRaycast
A class in Root.Township, Alta.Populations.
Asset with raycast settings for placing population spawns on the ground. RadialPopulationArea uses it.
- Listed in World generation
- Inherits or implements
HashedGeneralValue<PopulationRaycast> - Derived types
PopulationRaycast,PopulationRaycast.Create - Nested types
Create
Constructors
| Member | What it is |
|---|---|
PopulationRaycast() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
5 private and internal fields
Methods
| Member | What it is |
|---|---|
PointNormal? Try(Vector3 position, Vector3 direction) | Raycasts for ground and returns the hit point and normal if far enough and flat enough. As decompiled, the ray start ignores position. |
Used in
Members of other types that take, return or hold a PopulationRaycast: