delete the UnityBoxCollider comp.
delete the Unity box collider component attached to the UnityGameObject obj.
delete the Unity box collider component with the specified name.


DeleteUnityBoxCollider
delete the UnityBoxCollider comp.
delete the Unity box collider component attached to the UnityGameObject obj.
delete the Unity box collider component with the specified name.
Details and Options
- DeleteUnityBoxCollider destroys the Unity box collider component, and releases any references to it.
- DeleteUnityBoxCollider[All] destroys all the box collider components in the current scene.
- DeleteUnityBoxCollider is Listable.
Examples
open all close allBasic Examples (2)
Possible Issues (1)
A UnityBoxCollider cannot be accessed after deletion:

Related Guides
Text
Wolfram Research (2019), DeleteUnityBoxCollider, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityBoxCollider.html.
CMS
Wolfram Language. 2019. "DeleteUnityBoxCollider." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityBoxCollider.html.
APA
Wolfram Language. (2019). DeleteUnityBoxCollider. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityBoxCollider.html
BibTeX
@misc{reference.wolfram_2025_deleteunityboxcollider, author="Wolfram Research", title="{DeleteUnityBoxCollider}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityBoxCollider.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_deleteunityboxcollider, organization={Wolfram Research}, title={DeleteUnityBoxCollider}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityBoxCollider.html}, note=[Accessed: 16-August-2025]}