Class KaijuTargetMovementAction<T>
Class for movement actions which move in relation to a given target.
Inheritance
System.Object
KaijuTargetMovementAction<T>
Inherited Members
Namespace: KaijuSolutions.Agents.Behavior.Movement
Syntax
[Serializable]
public abstract class KaijuTargetMovementAction<T> : KaijuMovementAction<T> where T : KaijuMovement
Type Parameters
| Name | Description |
|---|---|
| T | The type of movement this is for. |
Fields
target
The target for the agent to move in relation to.
Declaration
public BlackboardVariable<Transform> target
Field Value
| Type | Description |
|---|---|
| BlackboardVariable<Transform> |
Methods
OnStart()
OnStart is called when the node starts running.
Declaration
protected override Status OnStart()
Returns
| Type | Description |
|---|---|
| Status | The status of the node. |
Overrides
KaijuSolutions.Agents.Behavior.Movement.KaijuMovementAction<T>.OnStart()
OnUpdate()
OnUpdate is called each frame while the node is running.
Declaration
protected override Status OnUpdate()
Returns
| Type | Description |
|---|---|
| Status | The status of the node. |
Overrides
KaijuSolutions.Agents.Behavior.Movement.KaijuMovementAction<T>.OnUpdate()