Documentation

Unity Engine


Unity Engine


activeSceneChangedInEditMode

Subscribe to this event to get notified when the active Scene has changed in Edit mode in the Editor.
Read time 1 minuteLast updated 9 days ago

Definition

public static event UnityAction<Scene, Scene> activeSceneChangedInEditMode

Remarks

This event is only sent in Edit mode. If the event is only needed during Play mode then use SceneManager.activeSceneChanged.