feat(cordis): 完成阶段5配置与调试工具

This commit is contained in:
2026-08-17 01:58:46 +08:00
parent 8738e633ee
commit 5765f411e9
29 changed files with 1322 additions and 18 deletions
@@ -24,7 +24,7 @@ namespace ShrinkApp.Editor
// 旧版本曾生成过 m_Script=fileID:0 的无效占位资产。删除该占位后
// 才能在同一路径创建真正绑定 ShrinkAppSettings 类型的资产。
if (AssetDatabase.LoadMainAssetAtPath(assetPath) != null)
if (!string.IsNullOrEmpty(AssetDatabase.AssetPathToGUID(assetPath)))
AssetDatabase.DeleteAsset(assetPath);
var asset = ScriptableObject.CreateInstance<ShrinkAppSettings>();