CreateUnityScene
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.
更多信息
- 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
范例
打开所有单元关闭所有单元基本范例 (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:
文本
Wolfram Research (2019),CreateUnityScene,Wolfram 语言函数,https://reference.wolfram.com/language/UnityLink/ref/CloseUnityScene.html.
CMS
Wolfram 语言. 2019. "CreateUnityScene." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/CloseUnityScene.html.
APA
Wolfram 语言. (2019). CreateUnityScene. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/UnityLink/ref/CloseUnityScene.html 年