少年修仙传客户端基础资源
client_Wu Xijin
2018-12-18 38fe2c64f1160e2d985a46aa6f498772b60d53fb
3335 更新builtin打包代码
1个文件已修改
10 ■■■■ 已修改文件
Assets/Editor/Tool/BuiltInResourceSetting.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Tool/BuiltInResourceSetting.cs
@@ -14,7 +14,7 @@
        {
            var fileName = fileNames[i];
            var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/" + fileName;
            var toPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/" + fileName;
            var toPath = "Assets/ResourcesOut/BuiltIn/Sprites/" + fileName;
            AssetDatabase.DeleteAsset(toPath);
            if (AssetDatabase.LoadAssetAtPath<Texture>(fromPath) == null)
@@ -64,7 +64,7 @@
    public static void SetLoginBackGround(string publisher, BuildTarget buildTarget)
    {
        var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/LoginBackGround.png";
        var toPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/LoginBackGround.png";
        var toPath = "Assets/ResourcesOut/BuiltIn/Sprites/LoginBackGround.png";
        AssetDatabase.DeleteAsset(toPath);
        if (!File.Exists(Application.dataPath + "/Editor/Logo/" + GetVersionName(publisher) + "/LoginBackGround.png"))
        {
@@ -72,7 +72,7 @@
        }
        AssetDatabase.CopyAsset(fromPath, toPath);
        var importerPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/LoginBackGround.png";
        var importerPath = "Assets/ResourcesOut/BuiltIn/Sprites/LoginBackGround.png";
        var importer = AssetImporter.GetAtPath(importerPath);
        var textureImporter = importer as TextureImporter;
        if (textureImporter != null)
@@ -111,11 +111,11 @@
    public static void SetLoginLogo(string publisher, BuildTarget buildTarget)
    {
        var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/TB_DL_Logo.png";
        var toPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/TB_DL_Logo.png";
        var toPath = "Assets/ResourcesOut/BuiltIn/Sprites/TB_DL_Logo.png";
        AssetDatabase.DeleteAsset(toPath);
        AssetDatabase.CopyAsset(fromPath, toPath);
        var importerPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/TB_DL_Logo.png";
        var importerPath = "Assets/ResourcesOut/BuiltIn/Sprites/TB_DL_Logo.png";
        var importer = AssetImporter.GetAtPath(importerPath);
        var textureImporter = importer as TextureImporter;
        if (textureImporter != null)