Assets/Editor/Tool/BuiltInResourceSetting.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Assets/Editor/Tool/BuiltInResourceSetting.cs
@@ -15,8 +15,13 @@ var fileName = fileNames[i]; var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/" + fileName; var toPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/" + fileName; AssetDatabase.DeleteAsset(toPath); if (AssetDatabase.LoadAssetAtPath<Texture>(fromPath) == null) { continue; } AssetDatabase.CopyAsset(fromPath, toPath); var importerPath = toPath;