CreateUnityScene
create a new scene.
CreateUnityScene["name"]
create a scene with the specified name.
CreateUnityScene[File["file"]]
create a named scene saved at the given file path relative to the Assets folder.
Details
- CreateUnityScene returns the UnityScene it created, and $Failed if it cannot be created.
- The following options can be given:
-
Method Automatic whether the open scenes will be closed when creating the new scene "NewSceneSetup" Automatic whether the default game objects should be added to the new scene
Examples
open allclose allBasic Examples (2)
Options (2)
Method (1)
By default, all open scenes are closed when a new scene is created:
Use the Method option to create a new scene without closing the open scenes:
Text
Wolfram Research (2019), CreateUnityScene, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityScene.html.
CMS
Wolfram Language. 2019. "CreateUnityScene." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/CreateUnityScene.html.
APA
Wolfram Language. (2019). CreateUnityScene. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/CreateUnityScene.html