UnityLink`
UnityLink`

DeleteUnityLight

DeleteUnityLight[obj]

delete the Unity light component obj.

DeleteUnityLight["name"]

delete the Unity light component with the specified name.

Details

Examples

open allclose all

Basic Examples  (1)

To use UnityLink, you need first to load the package:

Open a Unity project:

Find and delete a Light component:

Delete a Light component by name:

Scope  (5)

Find and delete a Unity light component:

Delete the Unity light component by name:

Delete the Unity light component on a given game object:

Delete all lights in the current scene:

DeleteUnityLight is Listable:

Possible Issues  (1)

A UnityLight cannot be accessed after deletion:

Wolfram Research (2019), DeleteUnityLight, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLight.html.

Text

Wolfram Research (2019), DeleteUnityLight, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLight.html.

CMS

Wolfram Language. 2019. "DeleteUnityLight." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLight.html.

APA

Wolfram Language. (2019). DeleteUnityLight. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLight.html

BibTeX

@misc{reference.wolfram_2022_deleteunitylight, author="Wolfram Research", title="{DeleteUnityLight}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLight.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2022_deleteunitylight, organization={Wolfram Research}, title={DeleteUnityLight}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityLight.html}, note=[Accessed: 22-December-2024 ]}