| | |
| | | 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;
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | 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;
|