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
- Type: Event
- Namespace: UnityEditor.SceneManagement
- Assembly: UnityEditor.CoreModule
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.