少年修仙传客户端基础资源
client_Wu Xijin
2019-06-20 1068ba79f73fe236a2f058a29f342556b1806f87
Assets/Editor/Tool/BuiltInResourceSetting.cs
@@ -113,7 +113,11 @@
        var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/TB_DL_Logo.png";
        var toPath = "Assets/ResourcesOut/BuiltIn/Sprites/TB_DL_Logo.png";
        AssetDatabase.DeleteAsset(toPath);
        AssetDatabase.CopyAsset(fromPath, toPath);
        var root = Application.dataPath.Substring(0, Application.dataPath.Length - 6) + "/";
        File.Copy(root + fromPath, root + toPath);
        AssetDatabase.SaveAssets();
        AssetDatabase.Refresh();
        var importerPath = "Assets/ResourcesOut/BuiltIn/Sprites/TB_DL_Logo.png";
        var importer = AssetImporter.GetAtPath(importerPath);