Преглед на файлове

提交兼容恶心的后端

wartheking преди 1 ден
родител
ревизия
57c1422841
променени са 5 файла, в които са добавени 617 реда и са изтрити 256 реда
  1. 566 151
      Assets/Prefabs/UI/XHYZT/GCYW.prefab
  2. 41 98
      Assets/Scene 1.unity
  3. 1 1
      Assets/Scripts/HttpGetData.cs
  4. 1 1
      Assets/Scripts/UI/Item/B08_TaskListItem.cs
  5. 8 5
      Assets/Scripts/UI/UIView/GCYW/GCYWLayer.cs

Файловите разлики са ограничени, защото са твърде много
+ 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;

Някои файлове не бяха показани, защото твърде много файлове са промени