From 8bf4170380141a10dd8550892f566b2ba4c2dd64 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 05 九月 2018 03:36:31 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/MainInterfacePanel/FlyingShoesTask.cs | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/System/MainInterfacePanel/FlyingShoesTask.cs b/System/MainInterfacePanel/FlyingShoesTask.cs
index 3763443..6fbc547 100644
--- a/System/MainInterfacePanel/FlyingShoesTask.cs
+++ b/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);
--
Gitblit v1.8.0