activeSceneChangedInEditMode
Subscribe to this event to get notified when the active Scene has changed in Edit mode in the Editor.
阅读时间1 分钟最后更新于 1 个月前
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.