少年修仙传客户端代码仓库
client_Hale
2018-09-11 f237dce65b7eb454dfc9e2fe6c8efdebca085b4e
System/MainInterfacePanel/TaskListTip.cs
@@ -338,12 +338,26 @@
            TaskScheduling();
            if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && !inDungeon)
            {
                TheTaskToGenerate();//任务列表需要重新排列重新刷新赋值
               // LodingDelTask(_IdTask);
                DeleteSort(_IdTask);
            }
           
        }
        private void DeleteSort(int taskID)//关于任务删除
        {
            for (int i = 0; i < Content.childCount; i++)
            {
                GameObject obj = Content.GetChild(i).gameObject;
                TaskType taskType = obj.GetComponent<TaskType>();
                if (obj.activeSelf && taskType.TaskID == taskID)
                {
                    taskType.TaskID = 0;
                    taskType.ClearTaskName();
                    obj.SetActive(false);
                    obj.transform.SetAsLastSibling();
                }
            }
        }
        void TaskInformation(int _Taskid, Dictionary<int, Dictionary<string, string>> _Dic)//任务字典信息
        {