| | |
| | | {
|
| | | sideMissionTitleBtton.PitchOnImage.SetActive(false);
|
| | | }
|
| | | sideMissionTitleBtton.TitleName.text= ConfigManager.Instance.GetTemplate<TASKINFOConfig>(taskmodel.SideQuestsDic[TaskId].Name).show_writing;//任务名
|
| | | var taskname = taskmodel.SideQuestsDic[TaskId].Name;
|
| | | if (ConfigManager.Instance.GetTemplate<TASKINFOConfig>(taskname) == null)
|
| | | {
|
| | | DesignDebug.LogError("TASKINFO任务表格没有获取到该任务名称"+ taskname);
|
| | | return;
|
| | | }
|
| | | sideMissionTitleBtton.TitleName.text= ConfigManager.Instance.GetTemplate<TASKINFOConfig>(taskname).show_writing;//任务名
|
| | | if (!taskmodel.SideQuestsDic.ContainsKey(TaskId))
|
| | | {
|
| | | return;
|
| | | }
|
| | | sideMissionTitleBtton.Text_RamusState.text = GegionalTaskStatus(taskmodel.SideQuestsDic[TaskId].MissionState);
|
| | | sideMissionTitleBtton.SideMissionTitleBtton1.RemoveAllListeners();
|
| | | sideMissionTitleBtton.SideMissionTitleBtton1.AddListener(()=>
|
| | |
| | |
|
| | | void Information(int taskID)
|
| | | {
|
| | | if (!taskmodel.SideQuestsDic.ContainsKey(taskID))
|
| | | {
|
| | | return;
|
| | | }
|
| | | _Text_TaskName.text = ConfigManager.Instance.GetTemplate<TASKINFOConfig>(taskmodel.SideQuestsDic[taskID].Name).show_writing;//任务名
|
| | | _Text_TaskDescribe.text = ConfigManager.Instance.GetTemplate<TASKINFOConfig>(taskmodel.SideQuestsDic[taskID].Desclist).show_writing;//任务描述
|
| | | string strINfor = taskmodel.SideQuestsDic[taskID].InforList;
|