Struct AgentOffMeshLinkTraversalCleanup Extends ICleanupComponentData

Public

Holds managed information about an off-mesh link that the agent is currently traversing.

This component is added to the agent when it starts traversing an off-mesh link. It is removed when the agent has finished traversing the link.

See

AgentOffMeshLinkTraversal Marks an agent that is in the middle of traversing an off-mesh link.

A cleanup component, so it outlives DestroyEntity. If this exists but AgentOffMeshLinkTraversal does not, the agent was destroyed part way through a link and its state machine still needs to be told that the traversal was aborted.

The traversal state itself lives in AgentManagedStorage, reachable through the agent's AgentManagedRef slot.