UnityLink`
UnityLink`

UnityTokenExecute

UnityTokenExecute[{"name1","name2",}]

invokes the Unity menu item at the path made by joining the namei.

Details

Examples

open allclose all

Basic Examples  (2)

Load the UnityLink:

Open a Unity project:

Open the Unity preferences window from the Unity menu:

Specify the full menu item path to invoke:

Specify the individual path names in a list:

Specify the individual path names in sequence:

Applications  (4)

Create game objects with all the default components:

Default materials are also added to some game objects:

Create assets in the current asset directory:

Open editor windows:

Control the game from the Unity menu:

Possible Issues  (1)

The menu item has to exist at the specified path in order to invoke it:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2022_unitytokenexecute, organization={Wolfram Research}, title={UnityTokenExecute}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/UnityTokenExecute.html}, note=[Accessed: 14-October-2024 ]}