deletes the Unity canvas group component comp.
deletes the Unity canvas group component attached to the UnityGameObject obj.
deletes the Unity canvas group component with the specified name.


DeleteUnityCanvasGroup
deletes the Unity canvas group component comp.
deletes the Unity canvas group component attached to the UnityGameObject obj.
deletes the Unity canvas group component with the specified name.
Details and Options
- DeleteUnityCanvasGroup destroys the Unity canvas group component, and releases all references to it.
- DeleteUnityCanvasGroup[All] destroys all the canvas group components in the current scene.
- DeleteUnityCanvasGroup is Listable.
Examples
open all close allBasic Examples (1)
Possible Issues (1)
A UnityCanvasGroup cannot be accessed after deletion:
Text
Wolfram Research (2019), DeleteUnityCanvasGroup, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityCanvasGroup.html.
CMS
Wolfram Language. 2019. "DeleteUnityCanvasGroup." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityCanvasGroup.html.
APA
Wolfram Language. (2019). DeleteUnityCanvasGroup. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityCanvasGroup.html
BibTeX
@misc{reference.wolfram_2025_deleteunitycanvasgroup, author="Wolfram Research", title="{DeleteUnityCanvasGroup}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityCanvasGroup.html}", note=[Accessed: 18-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_deleteunitycanvasgroup, organization={Wolfram Research}, title={DeleteUnityCanvasGroup}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityCanvasGroup.html}, note=[Accessed: 18-August-2025]}