CreateUnityShadow
creates a Unity shadow component attached to the UnityGameObject obj.
creates a Unity shadow component with the specified name.
generates a copy of the Unity shadow component comp.
Details
- CreateUnityShadow returns a UnityShadow, and $Failed if it cannot be created.
Examples
Basic Examples (1)Summary of the most common use cases
Load the package and open a project:

https://wolfram.com/xid/0dbd3c122tj2pt7fkf9p8u-ngi9ro

https://wolfram.com/xid/0dbd3c122tj2pt7fkf9p8u-fm8086
Create a Unity shadow component:

https://wolfram.com/xid/0dbd3c122tj2pt7fkf9p8u-ba7x7q

Attach the component to a UnityGameObject:

https://wolfram.com/xid/0dbd3c122tj2pt7fkf9p8u-d4c0oj

https://wolfram.com/xid/0dbd3c122tj2pt7fkf9p8u-0a51kw

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