AgentSwapActionSetSettings
A class in Root.Township, Alta.Intelligence.
Action component that switches the agent to another ActionComponentSet and then runs for a fixed duration.
Constructors
| Member | What it is |
|---|
AgentSwapActionSetSettings() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
| Member | What it is |
|---|
private float duration | Backing field for Duration. |
private bool isUsingTarget | Backing field for IsUsingTarget. |
private ActionComponentSet set | Backing field for Set. |
Properties
| Member | What it is |
|---|
float Duration { get; } | How long the swap action lasts after switching sets. |
bool IsUsingTarget { get; } | Whether the action needs a target. |
ActionComponentSet Set { get; } | The action set the agent switches to when this action starts. |
Methods
Used in
Members of other types that take, return or hold a AgentSwapActionSetSettings: