| | |
| | | TaskScheduling();
|
| | | for (int i = 0; i < _list.Count; i++)
|
| | | {
|
| | | GameObject childObj = Content.GetChild(i).gameObject;
|
| | | TaskType childObjTaskType = Content.GetChild(i).gameObject.GetComponent<TaskType>();
|
| | | if (childObj.activeSelf && childObjTaskType.TaskID == MissionID)
|
| | | if (i <= Content.childCount-1)
|
| | | {
|
| | | if (childObjTaskType.m_TypeBool)
|
| | | GameObject childObj = Content.GetChild(i).gameObject;
|
| | | TaskType childObjTaskType = Content.GetChild(i).gameObject.GetComponent<TaskType>();
|
| | | if (childObj.activeSelf && childObjTaskType.TaskID == MissionID)
|
| | | {
|
| | | childObj.GetComponent<StoryMissions>().FlyingShoes_Task(MissionID);
|
| | | }
|
| | | else
|
| | | {
|
| | | childObj.GetComponent<FlyingShoesTask>().FlyingShoes_Task(MissionID);
|
| | | if (childObjTaskType.m_TypeBool)
|
| | | {
|
| | | childObj.GetComponent<StoryMissions>().FlyingShoes_Task(MissionID);
|
| | | }
|
| | | else
|
| | | {
|
| | | childObj.GetComponent<FlyingShoesTask>().FlyingShoes_Task(MissionID);
|
| | | }
|
| | | }
|
| | | }
|
| | | |
| | | }
|
| | | SetLength();
|
| | | TaskJump();
|