少年修仙传客户端代码仓库
client_Wu Xijin
2018-09-05 8bf4170380141a10dd8550892f566b2ba4c2dd64
System/MainInterfacePanel/FlyingShoesTask.cs
@@ -343,16 +343,13 @@
        {
            Task_ID = TaskID;
            TypeAssignment();
            if (TaskID == taskmodel.GetNowTaskID)
            for (int i = 0; i < m_parent.childCount; i++)
            {
                m_ImgSelected.SetActive(true);
                for (int i = 0; i < m_parent.childCount; i++)
                int taskID1 = m_parent.GetChild(i).GetComponent<TaskType>().TaskID;
                m_parent.GetChild(i).GetComponent<FlyingShoesTask>().ImgSelected.SetActive(false);
                if (taskID1 == taskmodel.GetNowTaskID)
                {
                    int taskID1 = m_parent.GetChild(i).GetComponent<TaskType>().TaskID;
                    if (TaskID != taskID1)
                    {
                        m_parent.GetChild(i).GetComponent<FlyingShoesTask>().ImgSelected.SetActive(false);
                    }
                    m_parent.GetChild(i).GetComponent<FlyingShoesTask>().ImgSelected.SetActive(true);
                }
            }
            m_DeliveryButton.gameObject.SetActive(true);