Function IOffMeshLinkStateMachine.OnFinishTraversingOffMeshLink
OnFinishTraversingOffMeshLink
(ECS.AgentOffMeshLinkTraversalContext context)
Called when an agent finishes traversing an off-mesh link.
Public
void OnFinishTraversingOffMeshLink (
context | Context for the traversal. Provides information about the link and the agent, as well as some helper methods for movement. This context is only valid for this method call. Do not store it and use it later. |
Called when an agent finishes traversing an off-mesh link.
This can be used to perform any cleanup that is necessary after the traversal.
Either OnFinishTraversingOffMeshLink or OnAbortTraversingOffMeshLink will be called, but not both.