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: