Requires a CharacterMovement ability. Makes the character move away from the target, up to the specified MaximumDistance.
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 away from the target, up to the specified MaximumDistance.
◆ Initialization()
| override void MoreMountains.TopDownEngine.AIActionMoveAwayFromTarget3D.Initialization |
( |
| ) |
|
|
virtual |
◆ Move()
| virtual void MoreMountains.TopDownEngine.AIActionMoveAwayFromTarget3D.Move |
( |
| ) |
|
|
protectedvirtual |
Moves the character towards the target if needed.
◆ OnExitState()
| override void MoreMountains.TopDownEngine.AIActionMoveAwayFromTarget3D.OnExitState |
( |
| ) |
|
|
virtual |
◆ PerformAction()
| override void MoreMountains.TopDownEngine.AIActionMoveAwayFromTarget3D.PerformAction |
( |
| ) |
|
On PerformAction we move.
◆ _characterMovement
| CharacterMovement MoreMountains.TopDownEngine.AIActionMoveAwayFromTarget3D._characterMovement |
|
protected |
◆ _directionToTarget
| Vector3 MoreMountains.TopDownEngine.AIActionMoveAwayFromTarget3D._directionToTarget |
|
protected |
◆ _movementVector
| Vector2 MoreMountains.TopDownEngine.AIActionMoveAwayFromTarget3D._movementVector |
|
protected |
◆ MaximumDistance
| float MoreMountains.TopDownEngine.AIActionMoveAwayFromTarget3D.MaximumDistance = 10f |
the maximum distance from the target this Character can reach.
The documentation for this class was generated from the following file: