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.SceneSavingCallback

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

Parameters

sceneThe Scene to be saved.
pathThe 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.