deletes the Unity graphic raycaster component comp.
deletes the Unity graphic raycaster component attached to the UnityGameObject obj.
deletes the Unity graphic raycaster component with the specified name.


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

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