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


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

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