ActionComponentSet
A class in Root.Township, Alta.Intelligence.
A component whose children are ActionComponents; it builds the set of actions an AI agent can choose from.
- Listed in Creatures and AI
- Inherits or implements
MonoBehaviour - Documented in Actions and decisions
Constructors
| Member | What it is |
|---|---|
ActionComponentSet() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private ActionSet<Agent> actionSet | Cached action set built from the child ActionComponents on first GetActionSet call. |
Methods
| Member | What it is |
|---|---|
ActionSet<T> GetActionSet<T>() | Builds an action set from the child action components. Its cache only works for the base Agent type, so it usually rebuilds each call. |
Used in
Members of other types that take, return or hold a ActionComponentSet:
Agent.UseActionComponentSet, Agent<TThis>.actionComponentSets, Agent<TThis>.UseActionComponentSet, AgentCrawlSettings.recoverFromFalling, AgentCrawlSettings.RecoverFromFalling, AgentDelayEnterSetSettings.exitTo, AgentDelayEnterSetSettings.ExitTo, AgentRegainControlSettings.exitTo, AgentRegainControlSettings.ExitTo, AgentRollUpInPlaceSettings.exitTo, AgentRollUpInPlaceSettings.ExitTo, AgentSwapActionSetSettings.set, AgentSwapActionSetSettings.Set, AgentThreatenSettings.changeTo, AgentThreatenSettings.ChangeTo, Babu.passiveActions, DeathFern.passiveActions, DeathFern.passiveActionSetMap, Dragonfly.passiveActions, Dragonfly.passiveActionSetMap, FireBug.emergeActionSet, FireBug.loseControlActionSet, FireBug.regainControlActionSet, Gotera.passiveActions, Gotera.passiveActionSetMap, GreaterGotera.passiveActions, GreaterGotera.passiveActionSetMap, IAgent.UseActionComponentSet, Phantom.passiveActions, Phantom.passiveActionSetMap, Schmeechee.passiveActions, Schmeechee.passiveActionSetMap, Spriggull.passiveActions, Turabada.passiveActions, Turabada.passiveActionSetMap, Wyrm.burrowedActions, Wyrm.BurrowedActions, Wyrm.emergedActions, Wyrm.EmergedActions.