| | |
| | | using UnityEngine;
|
| | | using UnityEditor;
|
| | | using TableConfig;
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
|
| | | public class NpcResourcesBuilder : ResourcesBuilder
|
| | |
| | | {
|
| | | continue;
|
| | | }
|
| | | _npcModel = Config.Instance.Get<NPCConfig>(_item.showNpcs[i]);
|
| | | _npcModel = NPCConfig.Get(_item.showNpcs[i]);
|
| | | if (_npcModel == null)
|
| | | {
|
| | | continue;
|
| | |
| | | var realmConfigs = Config.Instance.GetAllValues<RealmConfig>();
|
| | | foreach (var _realmConfig in realmConfigs)
|
| | | {
|
| | | _npcModel = Config.Instance.Get<NPCConfig>(_realmConfig.BossID);
|
| | | _npcModel = NPCConfig.Get(_realmConfig.BossID);
|
| | | if (_npcModel == null)
|
| | | {
|
| | | continue;
|