Documentation

Unity Engine


User Manual

Script Reference

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