By calling NavTileManager.Instance.LinkManager you can access all link related data.
GetAllPairs | Gets all NavLink pairs |
ContainsTileLink | Checks if the given tile is linked to a NavLink. |
GetLinkedTile | Gets the NavLink for a tile if present, otherwise, null. |
RemoveNavLink | Removes a NavLink for a specified tile if present. |
AddNavLink | Adds a new NavLink for a specified tile. |
GetLinkedAreaIndex | Gets the index of the area linked to the specified tile if present. |
RefreshAllNavLinks | This reinitializes all NavLinks using the resources folders, it will not find NavLinks outside these folders. |