Update refactoring plan: ISceneManager and EventBus integration

This commit is contained in:
2026-03-25 16:42:18 +08:00
parent 621a135ef7
commit 9c082c72fa

View File

@@ -486,6 +486,9 @@ private:
- **命名规范修复**SelectionManagerImpl → SelectionManagerEditorContextImpl → EditorContext - **命名规范修复**SelectionManagerImpl → SelectionManagerEditorContextImpl → EditorContext
- 删除了未使用的 SceneManagerImpl 和 ISceneManager - 删除了未使用的 SceneManagerImpl 和 ISceneManager
- **ProjectManager 单例移除**:创建了 IProjectManager 接口ProjectManager 实现该接口EditorContext 拥有实例 - **ProjectManager 单例移除**:创建了 IProjectManager 接口ProjectManager 实现该接口EditorContext 拥有实例
- **ISceneManager 接口**:创建了 ISceneManager 接口SceneManager 实现该接口
- **IEditorContext::GetSceneManager() 返回类型**:从 `void*` 改为 `ISceneManager&`
- **HierarchyPanel EventBus 订阅**HierarchyPanel 现在订阅 SelectionChangedEvent
### 阶段二:核心功能(第 3-4 周) ### 阶段二:核心功能(第 3-4 周)