少年修仙传客户端代码仓库
client_Wu Xijin
2018-08-30 0db3d1aa6923d587160c507d89591788031cf68c
2391 【前端】游戏性能优化
1个文件已修改
18 ■■■■ 已修改文件
System/Realm/RealmBossShow.cs 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/RealmBossShow.cs
@@ -1,8 +1,8 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TableConfig;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TableConfig;
namespace Snxxz.UI
{
    public class RealmBossShow : MonoBehaviour
@@ -244,7 +244,7 @@
                newClothes = item == null ? newClothes = config.BaseEquip[0] : item.ChangeOrd;
            }
            var _prefab = InstanceResourcesLoader.LoadModelRes(newClothes);
            var _prefab = InstanceResourcesLoader.LoadModelRes(newClothes,true);
            if (!_prefab)
            {
                newClothes = config.BaseEquip[0];
@@ -257,7 +257,7 @@
        private void LoadClothes(int resID)
        {
            var prefab = InstanceResourcesLoader.LoadModelRes(resID);
            var prefab = InstanceResourcesLoader.LoadModelRes(resID,true);
            if (clothesModel == null)
            {
                clothesModel = Instantiate(prefab, Constants.Special_Hide_Position, Quaternion.identity);
@@ -287,7 +287,7 @@
            }
        }
        public void LoadClothesEffect(int job,int clothedID, int suitLevel)
        public void LoadClothesEffect(int job, int clothedID, int suitLevel)
        {
            var _equipModel = ModelCenter.Instance.GetModel<PlayerPackModel>().GetSinglePackModel(PackType.rptEquip);
            if (_equipModel == null)
@@ -389,5 +389,5 @@
            }
        }
    }
}
}