8848cfd958
chore: checkpoint current workspace changes
2026-04-11 22:14:02 +08:00
b2774f1745
chore: sync editor worktree changes
2026-04-05 01:25:09 +08:00
fb15d60be9
feat: add runtime play tick and play-mode scene editing semantics
2026-04-02 19:37:35 +08:00
3b652ac1db
feat: add editor viewport host service
2026-03-28 17:04:14 +08:00
0651666d8c
Fix editor scene persistence and XC scene workflow
2026-03-26 01:26:26 +08:00
605d086bcc
Create ISceneManager interface and fix GetSceneManager return type
...
- Created ISceneManager interface with Editor需要的 SceneManager 方法
- SceneManager now implements ISceneManager
- IEditorContext::GetSceneManager() now returns ISceneManager& instead of void*
- Removed SceneManager::GetSceneManagerConcrete() method
- Updated HierarchyPanel and InspectorPanel to use ISceneManager interface
2026-03-25 16:39:15 +08:00
dc63808a65
Rename Impl classes to follow Unity naming convention
...
- SelectionManagerImpl -> SelectionManager
- EditorContextImpl -> EditorContext
- Removed unused SceneManagerImpl and ISceneManager
The Impl suffix was inconsistent with Unity naming conventions.
2026-03-25 16:20:21 +08:00
008fb98dee
refactor(editor): Complete architecture refactoring
...
- SceneManager: remove singleton, use dependency injection via EditorContext
- SelectionManager: already interface-based via ISelectionManager
- Panel: now receives IEditorContext for accessing managers
- HierarchyPanel: migrated to use IEditorContext instead of singletons
- Add ISceneManager interface and SceneManagerImpl
- EditorContextImpl: holds all editor subsystems
Architecture now follows dependency injection pattern:
Application -> EditorContext -> SceneManager/SelectionManager
EditorLayer -> Panels (receive context via SetContext)
All Manager singletons removed: EditorSceneManager::Get(), SelectionManager::Get()
2026-03-25 15:51:27 +08:00