Version: 2017.3

NavMesh.RemoveNavMeshData

Switch to Manual
public static void RemoveNavMeshData (AI.NavMeshDataInstance handle);

Parameters

handle The instance of a NavMesh to remove.

Description

Removes the specified NavMeshDataInstance from the game, making it unavailable for agents and queries.

Use the instance returned by AddNavMeshData to remove the corresponding NavMesh data.

See Also: NavMeshDataInstance.Remove.