Files
unity/Tools/Unity/Commands/FixImports.json
T
RCiBot 92623a1bc8 feat: establish mech extraction prototype with bilingual UI
Track Unity source, scenes, editable assets, licenses, tools and QA evidence. Exclude generated caches, Windows builds and raw runtime logs.
2026-11-12 12:28:40 +08:00

5 lines
713 B
JSON

[
{"tool":"manage_editor","arguments":{"action":"stop"}},
{"tool":"execute_code","arguments":{"action":"execute","code":"var importer=UnityEditor.AssetImporter.GetAtPath(\"Assets/Game/Art/Models/Mechs/Mech_Scout_A.fbx\") as UnityEditor.ModelImporter; importer.globalScale=100; importer.SaveAndReimport(); UnityEditor.AssetDatabase.ImportAsset(\"Assets/Game/UI/GameTheme.tss\",UnityEditor.ImportAssetOptions.ForceUpdate); var theme=UnityEditor.AssetDatabase.LoadMainAssetAtPath(\"Assets/Game/UI/GameTheme.tss\"); return new { themeType=theme==null ? \"null\" : theme.GetType().FullName, input=UnityEditor.AssetDatabase.LoadMainAssetAtPath(\"Assets/Game/Input/GameInput.inputactions\").GetType().FullName };"}}
]