DeleteUnitySpriteRenderer
deletes the Unity sprite renderer component comp.
deletes the Unity sprite renderer component attached to the UnityGameObject obj.
deletes the Unity sprite renderer component with the specified name.
Details
- DeleteUnitySpriteRenderer destroys the Unity sprite renderer component, and releases all references to it.
- DeleteUnitySpriteRenderer[All] destroys all the sprite renderer components in the current scene.
- DeleteUnitySpriteRenderer is Listable.
Examples
open allclose allBasic Examples (1)
Possible Issues (1)
A UnitySpriteRenderer cannot be accessed after deletion:
Text
Wolfram Research (2019), DeleteUnitySpriteRenderer, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnitySpriteRenderer.html.
CMS
Wolfram Language. 2019. "DeleteUnitySpriteRenderer." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnitySpriteRenderer.html.
APA
Wolfram Language. (2019). DeleteUnitySpriteRenderer. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnitySpriteRenderer.html