UnityLink`
UnityLink`

LaunchUnity

LaunchUnity[]

launches the Unity engine on the current computer.

LaunchUnity[proj]

opens the specified project proj.

LaunchUnity[proj,method]

executes the specified method at startup.

Details

  • LaunchUnity returns a UnityProcessObject if the process it specifies can be started; otherwise, it returns $Failed.

Examples

Basic Examples  (1)

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

Launch the Unity engine:

Get the version:

Close the Unity engine:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2021_launchunity, organization={Wolfram Research}, title={LaunchUnity}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/LaunchUnity.html}, note=[Accessed: 09-December-2021 ]}