少年修仙传客户端基础资源
client_Wu Xijin
2018-08-21 d7b690ed51305bbd98bae30a8e206e4b672a2dd3
Assets/Editor/Actor/NpcResourcesBuilder.cs
@@ -15,13 +15,13 @@
        BuildAnimationClip1(modelName);
        BuildAnimatorController(modelName);
        var showConfigs = ConfigManager.Instance.GetAllValues<ActorShowConfig>();
        var showConfigs = Config.Instance.GetAllValues<ActorShowConfig>();
        NPCConfig _npcModel = null;
        foreach (var _item in showConfigs)
        {
            for (int i = 0; i < _item.showNpcs.Length; i++)
            {
                _npcModel = ConfigManager.Instance.GetTemplate<NPCConfig>(_item.showNpcs[i]);
                _npcModel = Config.Instance.Get<NPCConfig>(_item.showNpcs[i]);
                if (_npcModel == null)
                {
                    continue;
@@ -35,10 +35,10 @@
            }
        }
        var realmConfigs = ConfigManager.Instance.GetAllValues<RealmConfig>();
        var realmConfigs = Config.Instance.GetAllValues<RealmConfig>();
        foreach (var _realmConfig in realmConfigs)
        {
            _npcModel = ConfigManager.Instance.GetTemplate<NPCConfig>(_realmConfig.BossID);
            _npcModel = Config.Instance.Get<NPCConfig>(_realmConfig.BossID);
            if (_npcModel == null)
            {
                continue;