Scene
主要使用类 UnityEditor.SceneManagement.EditorSceneManager
常用的Events:
- sceneClosed
- sceneOpened
- sceneSaved
Prefab
主要使用类 UnityEditor.Experimental.SceneManagement.PrefabStage
官方文档说这个API可能在之后的版本中移除,如果有大佬知道新的API实现方式,麻烦在评论里回复下
常用的Events:
- prefabSaved
主要使用类 UnityEditor.SceneManagement.EditorSceneManager
常用的Events:
主要使用类 UnityEditor.Experimental.SceneManagement.PrefabStage
官方文档说这个API可能在之后的版本中移除,如果有大佬知道新的API实现方式,麻烦在评论里回复下
常用的Events:
本文标题:Unity 编辑Scene或Prefab时监听保存等事件
本文链接:https://www.haomeiwen.com/subject/kiqmnrtx.html
网友评论