| | |
| | | sideMissionTitleBtton.PitchOnImage.SetActive(false);
|
| | | }
|
| | | var taskname = taskmodel.SideQuestsDic[TaskId].Name;
|
| | | if (Config.Instance.Get<TASKINFOConfig>(taskname) == null)
|
| | | if (TASKINFOConfig.Get(taskname) == null)
|
| | | {
|
| | | DebugEx.LogError("TASKINFO任务表格没有获取到该任务名称" + taskname);
|
| | | return;
|
| | | }
|
| | | sideMissionTitleBtton.TitleName.text = Config.Instance.Get<TASKINFOConfig>(taskname).show_writing;//任务名
|
| | | sideMissionTitleBtton.TitleName.text = TASKINFOConfig.Get(taskname).show_writing;//任务名
|
| | | if (!taskmodel.SideQuestsDic.ContainsKey(TaskId))
|
| | | {
|
| | | return;
|
| | |
| | | {
|
| | | return;
|
| | | }
|
| | | _Text_TaskName.text = Config.Instance.Get<TASKINFOConfig>(taskmodel.SideQuestsDic[taskID].Name).show_writing;//任务名
|
| | | _Text_TaskDescribe.text = Config.Instance.Get<TASKINFOConfig>(taskmodel.SideQuestsDic[taskID].Desclist).show_writing;//任务描述
|
| | | _Text_TaskName.text = TASKINFOConfig.Get(taskmodel.SideQuestsDic[taskID].Name).show_writing;//任务名
|
| | | _Text_TaskDescribe.text = TASKINFOConfig.Get(taskmodel.SideQuestsDic[taskID].Desclist).show_writing;//任务描述
|
| | | string strINfor = taskmodel.SideQuestsDic[taskID].InforList;
|
| | | string str = string.Empty;
|
| | | str = Config.Instance.Get<TASKINFOConfig>(strINfor).show_writing;
|
| | | str = TASKINFOConfig.Get(strINfor).show_writing;
|
| | | str = WordAnalysis.Color_Start_Regex.Replace(str, string.Empty);
|
| | | str = WordAnalysis.Color_End_Regex.Replace(str, string.Empty);
|
| | | _Text_TaskTarget.text = str;//任务目标
|
| | |
| | | DebugEx.Log("没有任务奖励");
|
| | | return;
|
| | | }
|
| | | string _RewardStr = Config.Instance.Get<TASKINFOConfig>(taskmodel.SideQuestsDic[taskID].RewardList).show_writing;
|
| | | string _RewardStr = TASKINFOConfig.Get(taskmodel.SideQuestsDic[taskID].RewardList).show_writing;
|
| | | RewardAnalysis.Inst.GetReward(_RewardStr, ref rewardList);
|
| | | RewardInformationDisplay(rewardList);
|
| | | }
|