| | |
| | | for (int i = 0; i < leng; i++)
|
| | | {
|
| | | GameObject childObj = Content.GetChild(i).gameObject;
|
| | | TaskType childObjTaskType = Content.GetChild(i).gameObject.GetComponent<TaskType>();
|
| | | childObjTaskType.ClearTaskName();
|
| | | if (childObj.activeSelf)
|
| | | {
|
| | | childObj.SetActive(!childObj.activeSelf);
|
| | |
| | | {
|
| | | GameObject childObj = Content.GetChild(i).gameObject;
|
| | | TaskType childObjTaskType = Content.GetChild(i).gameObject.GetComponent<TaskType>();
|
| | | // childObj.GetComponent<FlyingShoesTask>().ImgSelected.SetActive(false);
|
| | | if (i < _list.Count)
|
| | | {
|
| | | if (!childObj.activeSelf)
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | childObjTaskType.ClearTaskName();
|
| | | if (childObj.activeSelf)
|
| | | {
|
| | | childObj.SetActive(false);
|