Editor architecture¶
Structure¶
EditorLayerowns the panels and the dockspace, and bridges the engine'sonUIandcustomRendercallbacks.- Panels implement
IEditorPaneland read/write the sameRegistry. EditorConfigextendsSceneConfigwith editor-only state (selected asset, requested scene, script font size).Gallerymanagesprojects.jsonand project creation.Scaffoldgenerates project, system, and plugin files.
Editor vs. game¶
The editor creates a normal Engine::Application with an EditorMode resource. ScriptSystem
checks for that resource and stays idle, so scripts only run in the game process. The
multiplayer plugin is not loaded into the editor process.
The editor edits a live registry and serializes it to .scene; the game deserializes the
same file and runs it.