Interface IOffMeshLinkHandler

Public

Interface for handling off-mesh links.

If a component implements this interface, and is attached to the same GameObject as a NodeLink2 component, then the OnTraverseOffMeshLink method will be called when an agent traverses the off-mesh link.

This only works with the FollowerEntity component.

Note

FollowerEntity.onTraverseOffMeshLink overrides this callback, if set.

The Interactable component implements this interface, and allows a small state-machine to run when the agent traverses the link.

Public Methods

Called when an agent starts traversing an off-mesh link.

Public Variables

name

Name of the handler.

Public