Requires a CharacterMovement ability. Makes the character move up to the specified MinimumDistance in the direction of the target.
More...
|
| 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.AIActionMoveTowardsTarget3D.Initialization |
( |
| ) |
|
|
virtual |
◆ Move()
| virtual void MoreMountains.TopDownEngine.AIActionMoveTowardsTarget3D.Move |
( |
| ) |
|
|
protectedvirtual |
Moves the character towards the target if needed.
◆ OnExitState()
| override void MoreMountains.TopDownEngine.AIActionMoveTowardsTarget3D.OnExitState |
( |
| ) |
|
|
virtual |
◆ PerformAction()
| override void MoreMountains.TopDownEngine.AIActionMoveTowardsTarget3D.PerformAction |
( |
| ) |
|
On PerformAction we move.
◆ _characterMovement
| CharacterMovement MoreMountains.TopDownEngine.AIActionMoveTowardsTarget3D._characterMovement |
|
protected |
◆ _directionToTarget
| Vector3 MoreMountains.TopDownEngine.AIActionMoveTowardsTarget3D._directionToTarget |
|
protected |
◆ _movementVector
| Vector2 MoreMountains.TopDownEngine.AIActionMoveTowardsTarget3D._movementVector |
|
protected |
◆ _numberOfJumps
| int MoreMountains.TopDownEngine.AIActionMoveTowardsTarget3D._numberOfJumps = 0 |
|
protected |
◆ MinimumDistance
| float MoreMountains.TopDownEngine.AIActionMoveTowardsTarget3D.MinimumDistance = 1f |
the minimum distance from the target this Character can reach.
The documentation for this class was generated from the following file: