1. Home
  2. Docs
  3. NavTile
  4. Scripting
  5. NavTile Managers
  6. Link Manager

Link Manager

By calling NavTileManager.Instance.LinkManager you can access all link related data.

GetAllPairsGets all NavLink pairs
ContainsTileLinkChecks if the given tile is linked to a NavLink.
GetLinkedTileGets the NavLink for a tile if present, otherwise, null.
RemoveNavLinkRemoves a NavLink for a specified tile if present.
AddNavLinkAdds a new NavLink for a specified tile.
GetLinkedAreaIndexGets the index of the area linked to the specified tile if present.
RefreshAllNavLinksThis reinitializes all NavLinks using the resources folders, it will not find NavLinks outside these folders.