TimedActionComponent
An abstract class in Root.Township, Alta.Intelligence.
Base for a creature action component that runs for a set duration.
- Listed in Creatures and AI
- Inherits or implements
ActionComponent - Derived types
AgentCircleRepositionSettings,WyrmCatchSettings,WyrmDigSettings,WyrmDodgeSettings,WyrmEmergeSettings,WyrmMeleeSettings,WyrmSpitSettings
Constructors
| Member | What it is |
|---|---|
protected TimedActionComponent() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private float duration | Backing field for Duration (default 5 seconds). |
Properties
| Member | What it is |
|---|---|
float Duration { get; } | How long the action runs, in seconds probably. 5 by default. |