Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

EditorSceneManager.NewSceneCreatedCallback

public delegate void NewSceneCreatedCallback(SceneManagement.Scene scene, SceneManagement.NewSceneSetup setup, SceneManagement.NewSceneMode mode);

Parameters

sceneThe Scene that was created.
setupThe setup mode used when creating the Scene.
modeThe mode used for creating the Scene.

Description

Callbacks of this type which have been added to the newSceneCreated event are called after a new Scene has been created.

Did you find this page useful? Please give it a rating: