AgentDelayEnterSetSettings
A class in Root.Township, Alta.Intelligence.
Settings for ActiveDelayEnterSet: wait a random time, then switch the agent to another action set.
Constructors
| Member | What it is |
|---|
AgentDelayEnterSetSettings() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
| Member | What it is |
|---|
private ActionComponentSet exitTo | Backing field for ExitTo. |
private float maximumDuration | Longest wait. |
private float minimumDuration | Shortest wait. |
Properties
| Member | What it is |
|---|
float Duration { get; } | A new random time between the minimum and maximum each time it is read. |
ActionComponentSet ExitTo { get; } | Action set switched to when the wait finishes, if set. |
Methods