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.

Camera.scene

Switch to Manual
public SceneManagement.Scene scene;

Description

If not null, the camera will only render the contents of the specified Scene.

Currently, only Scenes created by EditorSceneManager.NewPreviewScene are supported.