Class KaijuWanderAction
Wander movement action for a agent.
Inheritance
System.Object
KaijuWanderAction
Inherited Members
Namespace: KaijuSolutions.Agents.Behavior.Movement
Syntax
[Serializable]
public class KaijuWanderAction : KaijuMovementAction<KaijuWanderMovement>
Fields
wander
The movement reference.
Declaration
public BlackboardVariable<KaijuMovementReference> wander
Field Value
| Type | Description |
|---|---|
| BlackboardVariable<KaijuMovementReference> |
Methods
CreateMovement()
Create the movement.
Declaration
protected override KaijuWanderMovement CreateMovement()
Returns
| Type | Description |
|---|---|
| KaijuWanderMovement | The movement that was created. |
Overrides
KaijuSolutions.Agents.Behavior.Movement.KaijuMovementAction<KaijuSolutions.Agents.Movement.KaijuWanderMovement>.CreateMovement()
GetMovementReference()
Get the movement instance to configure.
Declaration
protected override BlackboardVariable<KaijuMovementReference> GetMovementReference()
Returns
| Type | Description |
|---|---|
| BlackboardVariable<KaijuMovementReference> | The movement reference variable. |
Overrides
KaijuSolutions.Agents.Behavior.Movement.KaijuMovementAction<KaijuSolutions.Agents.Movement.KaijuWanderMovement>.GetMovementReference()
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<KaijuSolutions.Agents.Movement.KaijuWanderMovement>.OnStart()