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