ClosePreviewScene(Scene)
Closes a preview Scene created by EditorSceneManager.NewPreviewScene or EditorSceneManager.OpenPreviewScene.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.SceneManagement
- Assembly: UnityEditor
public static bool ClosePreviewScene(Scene scene)
Parameters
The preview Scene to close.
Returns
Type | Description |
|---|---|
| bool | True if the Scene was successfully closed. |