HurtSense
A class in Root.Township, Alta.Intelligence.
Sense asset giving how much a target has hurt the creature, from its Hurt record.
- Listed in Creatures and AI
- Inherits or implements
Sense - Derived types
HurtSense.Create - Nested types
Create - Documented in Targets and senses
Constructors
| Member | What it is |
|---|---|
HurtSense() | 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 creature's hurt value for the target, or 0 if the target hasn't hurt it. |