| | |
| | | {
|
| | | 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);
|