This version of Unity is unsupported.

EditorSceneManager.SceneSavingCallback

Declaration

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.