UnityLink`
UnityLink`

OpenUnityScene

OpenUnityScene["path"]

open the Unity scene at the specified path.

Details

Examples

open allclose all

Basic Examples  (2)

Load the UnityLink:

Open a Unity project:

Open a scene in the current Unity project:

Open a scene at a given path relative to the Assets directory:

Open a scene without closing any currently open scenes:

OpenUnityScene is Listable:

Options  (2)

Method  (2)

Use "Single" to close all open scenes before opening the specified scene:

The specified scene is made the active scene:

Use "Additive" to add the specified scene to the currently open scenes:

The active scene does not change:

Possible Issues  (1)

Opening a currently open scene will reload the scene from its file and discard any unsaved changes:

Use SaveUnityScene to save any changes:

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

Text

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2021_openunityscene, organization={Wolfram Research}, title={OpenUnityScene}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/OpenUnityScene.html}, note=[Accessed: 21-October-2021 ]}

CMS

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

APA

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