文档

Unity Engine

Download Unity

Unity Engine

activeSceneChangedInEditMode

Subscribe to this event to get notified when the active Scene has changed in Edit mode in the Editor.
阅读时间1 分钟最后更新于 1 个月前

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.