refactor(editor): reorganize Editor directory and unify menu hierarchy

File directory changes (mirror Scripts/ module structure):
- AbilityTypeDrawer.cs         → Equipment/
- CharacterWizardWindow.cs     → Character/
- FormEditorWindow.cs          → Player/
- GMToolWindow.cs              → Tools/
- SOManagerWindow.cs           → Tools/
- Map/MapRoomDataEditor.cs     → World/Map/
- Navigation/ (root)           → Enemies/Navigation/
- Achievements/                → Progression/

Menu hierarchy changes (BaseGames/ top-level):
- Data/: +Character Wizard (from Tools/), +Boss Skill Sequence (from Tools/)
- Addressables/: +Addressable Batch Tool, +Asset Reference Graph, +Validate Address Keys (from Tools/Verification/)
- Scene/Setup/: +Boot Flow Wizard, +Scaffold *, +Auto-Open Persistent (from Tools/)
- Scene/: +Camera Area Setup (from Camera/), +Bake All NavSurfaces (from Tools/)
- Events/: +Event Bus Monitor, +Event Chain Viewer, +Create/Reimport Event Channels (from Tools/)
- Tools/Validation/: +Validate All SOs, +Apply/Validate Script Order (from Tools/ flat)
- Tools/Maintenance/: +Missing Scripts/*, +Physics2D Layer Matrix/* (from Tools/ flat)

Result: BaseGames/Tools/ reduced from 16 flat items to 4 items + 2 submenus

Docs: update AssetFolderSpec §12 editor tool table with new menu paths

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-05-20 11:52:17 +08:00
parent 442d4c9cfc
commit 82ce9ff09a
38 changed files with 115 additions and 61 deletions

View File

@@ -25,7 +25,7 @@ namespace BaseGames.Editor
{
// ── 常量 ─────────────────────────────────────────────────────────────
private const string Title = "Addressable 批量工具";
private const string MenuPath = "BaseGames/Tools/Addressable Batch Tool";
private const string MenuPath = "BaseGames/Addressables/Addressable Batch Tool";
private const string PrefsKey = "AddressableBatch.";
// ── 状态 ─────────────────────────────────────────────────────────────
@@ -77,7 +77,7 @@ namespace BaseGames.Editor
// ─────────────────────────────────────────────────────────────────────
[MenuItem(MenuPath, priority = 200)]
[MenuItem("BaseGames/Verification/Open Addressable Batch Tool", priority = 250)]
[MenuItem("BaseGames/Addressables/Open Addressable Batch Tool", priority = 250)]
public static void OpenWindow()
{
var win = GetWindow<AddressableBatchTool>(Title);