Function OffMeshLinks.Add

Add (OffMeshLinkSource link)

Adds a new off-mesh link.

Public
void Add (

OffMeshLinkSource

link

The link to add.

)

Adds a new off-mesh link.

If any graphs change in the future, the link will automatically be updated to connect to the updated graphs.

Note

The link will not be added immediately, it will be added at the end of the current graph update step. Or, if no graph update is currently running, a graph update will be scheduled, and the link will be added at the end of that update. This is to avoid modifying the graph during a graph update.

See

Remove