Api > NavMeshDataInstance > Remove()
NavMeshDataInstance.Remove()⚓︎
Removes this instance from the NavMesh system.
Usage⚓︎
---@type NavMeshDataInstance
local navmeshdatainstance;
navmeshdatainstance.Remove()
Extra Detail⚓︎
An identical but convenient alternative to calling NavMesh.RemoveNavMeshData
. If the instance is not valid, e.g. has been removed before, the call has no effect.