This version of Unity is unsupported.

EditorSceneManager.ClosePreviewScene

Declaration

public static bool ClosePreviewScene(SceneManagement.Scene scene);

Parameters

scene The preview Scene to close.

Returns

bool True if the Scene was successfully closed.

Description

Closes a preview Scene created by NewPreviewScene.