Эх сурвалжийг харах

提交兼容恶心的后端

wartheking 1 өдөр өмнө
parent
commit
57c1422841

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 566 - 151
Assets/Prefabs/UI/XHYZT/GCYW.prefab


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 41 - 98
Assets/Scene 1.unity


+ 1 - 1
Assets/Scripts/HttpGetData.cs

@@ -346,7 +346,7 @@ public class B08_TaskInfoData
     public string fanganId;
     public string projectId;
     public string xunjianScope;
-    public int taskExecutor;
+    public string taskExecutor;
     [FormerlySerializedAs("type")] public string fanganName;
     public string xunjian_scope;
     public string status;

+ 1 - 1
Assets/Scripts/UI/Item/B08_TaskListItem.cs

@@ -57,7 +57,7 @@ public class B08_TaskListItem : MonoBehaviour
         moreMessage = moreMes;
         if (moreMessage)
         {
-            if (currentTaskListItem != null)
+            if (currentTaskListItem != null && currentTaskListItem != this)
             {
                 if (currentTaskListItem.moreMessage) {
                     currentTaskListItem.ChangeMoreMessage(false);

+ 8 - 5
Assets/Scripts/UI/UIView/GCYW/GCYWLayer.cs

@@ -382,11 +382,14 @@ public class GCYWLayer : YZTRootLayer
         taskPointIcons.Clear();
         for (int i = 0; i < itemsArray.Length; i++)
         {
-            GameObject tempObj = Instantiate(taskPointIconPrefab, taskPointIconContent);
-            tempObj.name = itemsArray[i].xjItemId;
-            tempObj.transform.position = CoordinateConverter.GeoToUnity(double.Parse(itemsArray[i].longitude),
-                double.Parse(itemsArray[i].latitude));
-            taskPointIcons.Add(tempObj.GetComponent<TaskPointIcon>());
+            if (itemsArray[i].longitude != null && itemsArray[i].latitude != null)
+            {
+                GameObject tempObj = Instantiate(taskPointIconPrefab, taskPointIconContent);
+                tempObj.name = itemsArray[i].xjItemId;
+                tempObj.transform.position = CoordinateConverter.GeoToUnity(double.Parse(itemsArray[i].longitude),
+                    double.Parse(itemsArray[i].latitude));
+                taskPointIcons.Add(tempObj.GetComponent<TaskPointIcon>());
+            }
         }
 
         taskPointLineRenderer.positionCount = itemsArray.Length;

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно