Class KaijuSeparationAction
Separation movement action for a agent.
Inheritance
System.Object
KaijuSeparationAction
Inherited Members
Namespace: KaijuSolutions.Agents.Behavior.Movement
Syntax
[Serializable]
public class KaijuSeparationAction : KaijuMovementAction<KaijuSeparationMovement>
Fields
separate
The movement reference.
Declaration
public BlackboardVariable<KaijuMovementReference> separate
Field Value
| Type | Description |
|---|---|
| BlackboardVariable<KaijuMovementReference> |
Methods
CreateMovement()
Create the movement.
Declaration
protected override KaijuSeparationMovement CreateMovement()
Returns
| Type | Description |
|---|---|
| KaijuSeparationMovement | The movement that was created. |
Overrides
KaijuSolutions.Agents.Behavior.Movement.KaijuMovementAction<KaijuSolutions.Agents.Movement.KaijuSeparationMovement>.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.KaijuSeparationMovement>.GetMovementReference()
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<KaijuSolutions.Agents.Movement.KaijuSeparationMovement>.OnUpdate()