Method LoadCustomNavMesh
LoadCustomNavMesh(String, IProgress<LoadNavigationProgress>)
Builds a nav mesh based on custom user data (such as a render mesh to build from)
Declaration
public INavigation LoadCustomNavMesh(string customMeshPath, IProgress<LoadNavigationProgress> loadNavigationProgress = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | customMeshPath | Path (string) to the custom mesh used for building a nav mesh |
IProgress<LoadNavigationProgress> | loadNavigationProgress | Progress var |
Returns
Type | Description |
---|---|
INavigation | The navigation mesh data |