DeleteUnityLensFlare
delete the UnityLensFlare comp.
delete the Unity lens flare component attached to the UnityGameObject obj.
delete the Unity lens flare component with the specified name.
Details
- DeleteUnityLensFlare destroys the Unity lens flare component, and releases any references to it.
- DeleteUnityLensFlare[All] destroys all the lens flare components in the current scene.
- DeleteUnityLensFlare is Listable.
Examples
open allclose allBasic Examples (2)
Possible Issues (1)
A UnityLensFlare cannot be accessed after deletion:

Text
Wolfram Research (2019), DeleteUnityLensFlare, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLensFlare.html.
CMS
Wolfram Language. 2019. "DeleteUnityLensFlare." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLensFlare.html.
APA
Wolfram Language. (2019). DeleteUnityLensFlare. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLensFlare.html