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


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

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