少年修仙传客户端基础资源
client_Hale
2018-10-31 9b1630f746d9c952f77f6f0e9ba451f7cd747e39
4078 模型生成逻辑修改
1个文件已修改
15 ■■■■ 已修改文件
Assets/Editor/Actor/ResourcesBuilder.cs 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Actor/ResourcesBuilder.cs
@@ -135,14 +135,15 @@
            outName = resName;
        }
        string _absOriginalePath = string.Format("{0}/ART/Role/{1}/{2}_Dm.FBX", Application.dataPath, path, resName);
        string _originalAssetPath = string.Format("Assets/ART/Role/{0}/{1}_Dm.FBX", path, resName);
        string _absOriginalePath = string.Format("{0}/ART/Role/{1}/{2}.FBX", Application.dataPath, path, resName);
        string _originalAssetPath = string.Format("Assets/ART/Role/{0}/{1}.FBX", path, resName);
        if ((!resName.StartsWith("A_Zs") && !resName.StartsWith("A_Fs"))
          || !suffix.Equals(InstanceResourcesLoader.raceSuffix))
        if ((resName.StartsWith("A_Zs") || resName.StartsWith("A_Fs"))
         && !isHighMesh
         && suffix.Equals(InstanceResourcesLoader.raceSuffix))
        {
            _absOriginalePath = string.Format("{0}/ART/Role/{1}/{2}.FBX", Application.dataPath, path, resName);
            _originalAssetPath = string.Format("Assets/ART/Role/{0}/{1}.FBX", path, resName);
            _absOriginalePath = string.Format("{0}/ART/Role/{1}/{2}_Dm.FBX", Application.dataPath, path, resName);
            _originalAssetPath = string.Format("Assets/ART/Role/{0}/{1}_Dm.FBX", path, resName);
        }
        string _tempPrefabName = outName;
@@ -580,7 +581,7 @@
            _assetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutAssetPath, resName, AnimatorControllerLoader.controllerRealmSuffix, resName);
        }
        if(templeName.Equals("Temple_AnimatorController_UI"))
        if (templeName.Equals("Temple_AnimatorController_UI"))
        {
            _absAssetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutPath, outName, AnimatorControllerLoader.controllerUISuffix, outName);
            _assetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutAssetPath, outName, AnimatorControllerLoader.controllerUISuffix, outName);