deletes the Unity GUI text component comp.
deletes the Unity GUI text component attached to the UnityGameObject obj.
deletes the Unity GUI text component with the specified name.


DeleteUnityGUIText
deletes the Unity GUI text component comp.
deletes the Unity GUI text component attached to the UnityGameObject obj.
deletes the Unity GUI text component with the specified name.
Details and Options
- DeleteUnityGUIText destroys the Unity GUI text component, and releases all references to it.
- DeleteUnityGUIText[All] destroys all the GUI text components in the current scene.
- DeleteUnityGUIText is Listable.
Examples
open all close allBasic Examples (1)
Possible Issues (1)
A UnityGUIText cannot be accessed after deletion:

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