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.

更多信息

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

范例

基本范例  (1)

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

Launch the Unity engine:

Get the version:

Close the Unity engine:

Wolfram Research (2017),LaunchUnity,Wolfram 语言函数,https://reference.wolfram.com/language/UnityLink/ref/LaunchUnity.html.

文本

Wolfram Research (2017),LaunchUnity,Wolfram 语言函数,https://reference.wolfram.com/language/UnityLink/ref/LaunchUnity.html.

CMS

Wolfram 语言. 2017. "LaunchUnity." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/LaunchUnity.html.

APA

Wolfram 语言. (2017). LaunchUnity. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/UnityLink/ref/LaunchUnity.html 年

BibTeX

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

BibLaTeX

@online{reference.wolfram_2022_launchunity, organization={Wolfram Research}, title={LaunchUnity}, year={2017}, url={https://reference.wolfram.com/language/UnityLink/ref/LaunchUnity.html}, note=[Accessed: 22-November-2024 ]}