少年修仙传客户端基础资源
client_Wu Xijin
2018-10-26 2d438176951e1bdb4ab20e4e732307276ec4ff64
4334 【前端】随包资源支持热更
1个文件已修改
5 ■■■■■ 已修改文件
Assets/Editor/Tool/BuiltInResourceSetting.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Tool/BuiltInResourceSetting.cs
@@ -10,6 +10,7 @@
    {
        var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/Launch.png";
        var toPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/Launch.png";
        AssetDatabase.DeleteAsset(toPath);
        AssetDatabase.CopyAsset(fromPath, toPath);
@@ -55,6 +56,10 @@
        var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/LoginBackGround.png";
        var toPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/LoginBackGround.png";
        AssetDatabase.DeleteAsset(toPath);
        if (!File.Exists(Application.dataPath + "Editor/Logo/" + GetVersionName(publisher) + "/LoginBackGround.png"))
        {
            return;
        }
        AssetDatabase.CopyAsset(fromPath, toPath);
        var importerPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/LoginBackGround.png";