UnityLink`
UnityLink`

UnityBuild

UnityBuild[]

builds the current Unity project to the project directory.

UnityBuild[path]

builds the current Unity project at the specified path.

Details

  • UnityBuild attempts to build the open Unity project, returning Success or Failure.
  • UnityBuild builds the current Unity project to be run outside the Unity Editor.
  • The following options can be given:
  • "Platform"Automaticthe target platform to build for
    "Scenes"Automaticthe scenes to include in the build
    "Icon"Automaticthe icon to use for the build

Examples

Basic Examples  (2)

Load the UnityLink:

Open a Unity project:

Build the roll-a-ball game:

Open and play the game:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2022_unitybuild, organization={Wolfram Research}, title={UnityBuild}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/UnityBuild.html}, note=[Accessed: 21-November-2024 ]}