ClosePreviewScene(Scene)
Closes a preview Scene created by EditorSceneManager.NewPreviewScene or EditorSceneManager.OpenPreviewScene.
Read time 1 minuteLast updated 13 days ago
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. |