AgentEatSettings
A class in Root.Township, Alta.Intelligence.
Settings for ActiveEat: grab the target item with the creature's Interactor and destroy it after a delay. Server only; used for creatures that eat dropped food.
- Listed in Creatures and AI
- Inherits or implements
ActionComponent - Derived types
ActiveEat
Constructors
| Member | What it is |
|---|---|
AgentEatSettings() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Properties
Methods
| Member | What it is |
|---|---|
protected override IAction GetAction() | Builds the shared ActiveEat action for agents that implement IInteractAgent, using a target. |