LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

EditorSceneManager.NewPreviewScene

public static SceneManagement.Scene NewPreviewScene();

Returns

Scene The new preview scene.

Description

Creates a new preview scene. Any object added to a preview scene will only be rendered in that scene.