Corgi Engine
v9.0
|
This action directs the CharacterHorizontalMovement ability to move in the direction of the target. More...
Public Member Functions | |
override void | Initialization () |
On init we grab our CharacterHorizontalMovement ability More... | |
override void | PerformAction () |
On PerformAction we move More... | |
override void | OnEnterState () |
When entering the state we reset our movement. More... | |
override void | OnExitState () |
When exiting the state we reset our movement. More... | |
Public Attributes | |
float | MinimumDistance = 1f |
The minimum distance to the target that this Character can reach. More... | |
Public Attributes inherited from MoreMountains.Tools.AIAction | |
InitializationModes | InitializationMode |
whether initialization should happen only once, or every time the brain is reset More... | |
string | Label |
a label you can set to organize your AI Actions, not used by anything else More... | |
Protected Member Functions | |
virtual void | Move () |
Moves the character in the decided direction More... | |
Protected Member Functions inherited from MoreMountains.Tools.AIAction | |
virtual void | Awake () |
On Awake we grab our AIBrain More... | |
Protected Attributes | |
CharacterHorizontalMovement | _characterHorizontalMovement |
Protected Attributes inherited from MoreMountains.Tools.AIAction | |
bool | _initialized |
AIBrain | _brain |
Additional Inherited Members | |
Public Types inherited from MoreMountains.Tools.AIAction | |
enum | InitializationModes { InitializationModes.EveryTime, InitializationModes.OnlyOnce } |
Properties inherited from MoreMountains.Tools.AIAction | |
virtual bool | ActionInProgress [get, set] |
virtual bool | ShouldInitialize [get] |
This action directs the CharacterHorizontalMovement ability to move in the direction of the target.
|
virtual |
On init we grab our CharacterHorizontalMovement ability
Reimplemented from MoreMountains.Tools.AIAction.
|
protectedvirtual |
Moves the character in the decided direction
Reimplemented in MoreMountains.CorgiEngine.AIActionMoveAwayFromTarget.
|
virtual |
When entering the state we reset our movement.
Reimplemented from MoreMountains.Tools.AIAction.
|
virtual |
When exiting the state we reset our movement.
Reimplemented from MoreMountains.Tools.AIAction.
|
virtual |
On PerformAction we move
Implements MoreMountains.Tools.AIAction.
|
protected |
float MoreMountains.CorgiEngine.AIActionMoveTowardsTarget.MinimumDistance = 1f |
The minimum distance to the target that this Character can reach.