DeleteUnityNavMeshAgent
deletes the Unity nav mesh agent component comp.
deletes the Unity nav mesh agent component attached to the UnityGameObject obj.
deletes the Unity nav mesh agent component with the specified name.
Details
- DeleteUnityNavMeshAgent destroys the Unity nav mesh agent component, and releases all references to it.
- DeleteUnityNavMeshAgent[All] destroys all the nav mesh agent components in the current scene.
- DeleteUnityNavMeshAgent is Listable.
Examples
open allclose allBasic Examples (1)
Possible Issues (1)
A UnityNavMeshAgent cannot be accessed after deletion:
Text
Wolfram Research (2019), DeleteUnityNavMeshAgent, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityNavMeshAgent.html.
CMS
Wolfram Language. 2019. "DeleteUnityNavMeshAgent." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityNavMeshAgent.html.
APA
Wolfram Language. (2019). DeleteUnityNavMeshAgent. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityNavMeshAgent.html