소스 검색

提交解决3d奔溃的问题

wartheking 1 일 전
부모
커밋
b539c96324
2개의 변경된 파일102개의 추가작업 그리고 4개의 파일을 삭제
  1. 99 2
      Assets/Scene 1.unity
  2. 3 2
      Assets/Scripts/HttpHelper.cs

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 99 - 2
Assets/Scene 1.unity


+ 3 - 2
Assets/Scripts/HttpHelper.cs

@@ -118,7 +118,7 @@ public class HttpHelper : MonoBehaviour
             InitRKZYData();
         }
 
-        if (GlobalData.pageIndex == PageIndex.Page1 || GlobalData.pageIndex == PageIndex.Page2)
+        if (GlobalData.pageIndex == PageIndex.Page1 || GlobalData.pageIndex == PageIndex.Page2 || GlobalData.pageIndex == PageIndex.Page3)
         {
             Debug.Log("HttpInitSWYJData");
             //可以并行,无需等待
@@ -1570,7 +1570,7 @@ public class HttpHelper : MonoBehaviour
                 // 提取data字段的值
                 JToken dataToken = jsonObject["data"];
                 JToken codeToken = jsonObject["code"];
-                //Debug.LogError(dataToken);
+                Debug.LogError(dataToken);
                 if (codeToken.ToString() == "200")
                 {
                     //Debug.LogError(200);
@@ -2107,6 +2107,7 @@ public class HttpHelper : MonoBehaviour
     public async Task<string> GetWaterTrend_Chart(string stcd,string startDate,string endDate)
     {
         UnityWebRequest www = new UnityWebRequest(ServerAddress.API_GetWaterTrend_chart + stcd + "&startDate=" + startDate + "&endDate=" + endDate, "Get");
+        Debug.Log(ServerAddress.API_GetWaterTrend_chart + stcd + "&startDate=" + startDate + "&endDate=" + endDate);
         www.downloadHandler = new DownloadHandlerBuffer();
         www.SetRequestHeader("Content-Type", "application/json");
         await www.SendWebRequest();

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.