Class NavSteeringEvents
- Namespace
- Trailblazer.Navigation
- Assembly
- Trailblazer.dll
Defines event-driven interactions for the scout, including movement, forces, and state transitions.
public class NavSteeringEvents
- Inheritance
-
NavSteeringEvents
- Inherited Members
Constructors
NavSteeringEvents()
public NavSteeringEvents()
Fields
OnArrive
Called when unit arrives at destination
public Action? OnArrive
Field Value
OnInvalidPath
Gets or sets the action to invoke when an invalid path is encountered.
public Action? OnInvalidPath
Field Value
Remarks
Assign a delegate to handle scenarios where a provided path does not meet validation criteria.
OnIsStuck
Gets or sets the callback that is invoked when the stuck condition is detected.
public Action? OnIsStuck
Field Value
Remarks
Assign a method to this delegate to handle scenarios where the object becomes stuck.
OnMoveRequestApplied
Gets or sets the callback that is invoked when a move request is applied.
public Action? OnMoveRequestApplied
Field Value
Remarks
Assign a method to this delegate to execute custom logic after a move request has been processed.
OnStartTraversal
Occurs when traversal is started, providing the initial position as a parameter.
public Action<Vector3d>? OnStartTraversal
Field Value
- Action<Vector3d>
Remarks
Assign a handler to this event to perform custom logic when traversal begins.
OnStopMove
Called whenever movement is stopped
public Action? OnStopMove