Function FollowerJumpLink.OnAbortTraversingOffMeshLink
OnAbortTraversingOffMeshLink
()
Called when an agent fails to finish traversing an off-mesh link.
Private
void OnAbortTraversingOffMeshLink ()
Called when an agent fails to finish traversing an off-mesh link.
This can be used to perform any cleanup that is necessary after the traversal.
An abort can happen if the agent was destroyed while it was traversing the link. It can also happen if the agent was teleported somewhere else while traversing the link.
Either OnFinishTraversingOffMeshLink or OnAbortTraversingOffMeshLink will be called, but not both.
Warning
When this is called, the agent may already be destroyed. The handler component itself could also be destroyed at this point.