| | |
| | | MainInterfaceWin.IsOpenMaininterface += IsOpenMaininterface;
|
| | | _AllMissionDict = taskmodel.allMissionDict;
|
| | | _NPCID = taskmodel.NPCid;
|
| | | var npcConfig = ConfigManager.Instance.GetTemplate<NPCConfig>(_NPCID);
|
| | | var npcConfig = Config.Instance.Get<NPCConfig>(_NPCID);
|
| | | if (npcConfig != null)
|
| | | {
|
| | | if (npcConfig.NPCSpeakID != 0)
|
| | |
| | |
|
| | | void ContentAssignmen()//内容赋值
|
| | | {
|
| | | NPCConfig Npc = ConfigManager.Instance.GetTemplate<NPCConfig>(_NPCID);
|
| | | NPCConfig Npc = Config.Instance.Get<NPCConfig>(_NPCID);
|
| | | _TextName.text = Npc.charName;
|
| | | string _taskInfoKey = string.Format("d_{0}_0_1", _NPCID);
|
| | | if (ConfigManager.Instance.GetTemplate<TASKINFOConfig>(_taskInfoKey) == null)
|
| | | if (Config.Instance.Get<TASKINFOConfig>(_taskInfoKey) == null)
|
| | | return;
|
| | | TASKINFOConfig DefaultDialogContent = ConfigManager.Instance.GetTemplate<TASKINFOConfig>(_taskInfoKey);
|
| | | TASKINFOConfig DefaultDialogContent = Config.Instance.Get<TASKINFOConfig>(_taskInfoKey);
|
| | | _TextDefaultDialogue.text = DefaultDialogContent.show_writing;
|
| | | }
|
| | | }
|