NavMesh.RemoveNavMeshData

Cambiar al Manual
public static void RemoveNavMeshData (AI.NavMeshDataInstance handle);

Parámetros

handleThe instance of a NavMesh to remove.

Descripción

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. If the instance is not valid, e.g. has been removed before, the call has no effect.

See Also: NavMeshDataInstance.Remove, NavMesh.RemoveAllNavMeshData.