Class AIActionBase
A the base class for components that allow giving AI the ability to the actions.
These can be controllerd by an AIBrain component or if you only need one action for a
character you can just use a standalone AIAction.
Inheritance
System.Object
AIActionBase
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public abstract class AIActionBase : MonoBehaviour, IAIAction
Fields
Controller2D
Declaration
protected Controller2D Controller2D
Field Value
| Type |
Description |
| Controller2D |
|
IsControlledByAIBrain
Declaration
[NonSerialized]
public bool IsControlledByAIBrain
Field Value
| Type |
Description |
| System.Boolean |
|
IsEnabled
Declaration
Field Value
| Type |
Description |
| System.Boolean |
|
Methods
DoAction()
Declaration
public abstract void DoAction()
Init()
Declaration
public abstract void Init()
Implements