Requires a CharacterMovement ability. Makes the character move up to the specified MinimumDistance in the direction of the target.
More...
|
| float | MinimumDelayBeforeUpdatingTarget = 0.3f |
| | the minimum duration (in seconds) before we update the target's position again
|
| bool | ClearTargetOnExit = false |
| | whether or not to clear the target when exiting the state running this action, stopping the movement
|
| InitializationModes | InitializationMode |
| | whether initialization should happen only once, or every time the brain is reset
|
| string | Label |
| | a label you can set to organize your AI Actions, not used by anything else
|
|
| virtual void | Move () |
| | Moves the character towards the target if needed.
|
| virtual void | Awake () |
| | On Awake we grab our AIBrain.
|
Requires a CharacterMovement ability. Makes the character move up to the specified MinimumDistance in the direction of the target.
◆ Initialization()
| override void MoreMountains.TopDownEngine.AIActionPathfinderToTarget3D.Initialization |
( |
| ) |
|
|
virtual |
◆ Move()
| virtual void MoreMountains.TopDownEngine.AIActionPathfinderToTarget3D.Move |
( |
| ) |
|
|
protectedvirtual |
Moves the character towards the target if needed.
◆ OnExitState()
| override void MoreMountains.TopDownEngine.AIActionPathfinderToTarget3D.OnExitState |
( |
| ) |
|
|
virtual |
◆ PerformAction()
| override void MoreMountains.TopDownEngine.AIActionPathfinderToTarget3D.PerformAction |
( |
| ) |
|
On PerformAction we move.
◆ _characterMovement
| CharacterMovement MoreMountains.TopDownEngine.AIActionPathfinderToTarget3D._characterMovement |
|
protected |
◆ _characterPathfinder3D
◆ _lastSetNewDestinationAt
| float MoreMountains.TopDownEngine.AIActionPathfinderToTarget3D._lastSetNewDestinationAt = -Single.MaxValue |
|
protected |
◆ ClearTargetOnExit
| bool MoreMountains.TopDownEngine.AIActionPathfinderToTarget3D.ClearTargetOnExit = false |
whether or not to clear the target when exiting the state running this action, stopping the movement
◆ MinimumDelayBeforeUpdatingTarget
| float MoreMountains.TopDownEngine.AIActionPathfinderToTarget3D.MinimumDelayBeforeUpdatingTarget = 0.3f |
the minimum duration (in seconds) before we update the target's position again
The documentation for this class was generated from the following file: