Legacy Documentation: Version 2017.2 (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

scene The Scene that was created.
setup The setup mode used when creating the Scene.
mode The 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: