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

Script language

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

EditorSceneManager.SceneSavingCallback

public delegate void SceneSavingCallback(SceneManagement.Scene scene, string path);

Parameters

scene The Scene to be saved.
path The path to which the Scene is saved.

Description

Callbacks of this type which have been added to the sceneSaving event are called just before the Scene is saved.