ViewConeSense
A class in Root.Township, Alta.Intelligence.
Sense asset giving where a target sits in the creature's view cone. The creature must implement IHasViewCone.
- Listed in Creatures and AI
- Inherits or implements
Sense - Derived types
ViewConeSense.Create - Nested types
Create - Documented in Targets and senses
Constructors
| Member | What it is |
|---|---|
ViewConeSense() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Methods
| Member | What it is |
|---|---|
override float Get(IAgent requester, ITarget target) | The view cone ratio for the target's position, as ViewCone.Contains reports it. |