少年修仙传客户端基础资源
client_Wu Xijin
2018-10-26 7bc3c23b8c93902bf2c26e968cd09f383bb9fc5f
4334 【前端】随包资源支持热更
1个文件已修改
10 ■■■■ 已修改文件
Assets/Editor/Tool/BuiltInResourceSetting.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Tool/BuiltInResourceSetting.cs
@@ -9,11 +9,11 @@
    public static void SetLaunchBackGround(string publisher, BuildTarget buildTarget)
    {
        var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/Launch.png";
        var toPath = "Assets/Resources/UI/Sprites/Launch.png";
        var toPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/Launch.png";
        AssetDatabase.DeleteAsset(toPath);
        AssetDatabase.CopyAsset(fromPath, toPath);
        var importerPath = "Assets/Resources/UI/Sprites/Launch.png";
        var importerPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/Launch.png";
        var importer = AssetImporter.GetAtPath(importerPath);
        var textureImporter = importer as TextureImporter;
        if (textureImporter != null)
@@ -53,11 +53,11 @@
    public static void SetLoginBackGround(string publisher, BuildTarget buildTarget)
    {
        var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/LoginBackGround.png";
        var toPath = "Assets/Resources/UI/Sprites/LoginBackGround.png";
        var toPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/LoginBackGround.png";
        AssetDatabase.DeleteAsset(toPath);
        AssetDatabase.CopyAsset(fromPath, toPath);
        var importerPath = "Assets/Resources/UI/Sprites/LoginBackGround.png";
        var importerPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/LoginBackGround.png";
        var importer = AssetImporter.GetAtPath(importerPath);
        var textureImporter = importer as TextureImporter;
        if (textureImporter != null)
@@ -100,7 +100,7 @@
        AssetDatabase.DeleteAsset(toPath);
        AssetDatabase.CopyAsset(fromPath, toPath);
        var importerPath = "Assets/Resources/UI/Sprites/TB_DL_Logo.png";
        var importerPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/TB_DL_Logo.png";
        var importer = AssetImporter.GetAtPath(importerPath);
        var textureImporter = importer as TextureImporter;
        if (textureImporter != null)