胡佳骏 1 year ago
parent
commit
096acf3d08

+ 9 - 6
Assets/COSScripts/COSDownLoad.cs

@@ -27,7 +27,7 @@ public class COSDownLoad:MonoSingleton<COSDownLoad>
         Credential credential = new Credential();
         credential.type = "material";
         string data = JsonConvert.SerializeObject(credential);
-        Debug.Log(data);
+        Debug.Log("Hjj   "+data);
         HttpTool.Instance.Post("/storage/credential/create", data, CredentialCallBack);
     }
 
@@ -54,6 +54,7 @@ public class COSDownLoad:MonoSingleton<COSDownLoad>
 
         if (jObject["code"].ToString() == "200")
         {
+            Debug.Log("Hjj  --->"+ jObject["data"].ToString());
             successCos = JsonConvert.DeserializeObject<SuccessCOS>(jObject["data"].ToString());
             InitCos();
         }
@@ -93,6 +94,7 @@ public class COSDownLoad:MonoSingleton<COSDownLoad>
                                            // string localFileName = "my-local-temp-file"; //指定本地保存的文件名
 
         string localFileName = Path.GetFileName(downloadMaterial.downLoadPath);
+        Debug.Log("HJJ  ===> " + bucket + "   " + downloadMaterial.downLoadPath + "   " + localDir + "   " + localFileName);
         // 下载对象
         COSXMLDownloadTask downloadTask = new COSXMLDownloadTask(bucket, downloadMaterial.downLoadPath,
           localDir, localFileName);
@@ -115,13 +117,13 @@ public class COSDownLoad:MonoSingleton<COSDownLoad>
         catch (COSXML.CosException.CosClientException clientEx)
         {
             //请求失败
-            Debug.LogError(downloadMaterial.downLoadPath + "   CosClientException: " + clientEx);
+            Debug.LogError("Hjj   " + downloadMaterial.downLoadPath + "   CosClientException: " + clientEx);
             DownloadResManager.Instance.DownLoadFaild(downloadTask.localFileName);
         }
         catch (COSXML.CosException.CosServerException serverEx)
         {
             //请求失败
-            Debug.LogError(downloadMaterial.downLoadPath+ "    CosServerException: " + serverEx.GetInfo());
+            Debug.LogError("Hjj   "+downloadMaterial.downLoadPath+ "    CosServerException: " + serverEx.GetInfo());
             DownloadResManager.Instance.DownLoadFaild(downloadTask.localFileName);
         }
         listDownLoadTask.Add(downloadTask);
@@ -159,11 +161,12 @@ public class COSDownLoad:MonoSingleton<COSDownLoad>
             }    
 
             string localFileName = Path.GetFileName(listDLMaterial[i].localLoadPath);
+            Debug.Log("HJJ  ===> " + bucket + "   " + cosPath + "   " + localDir + "   " + localFileName);
             COSXMLDownloadTask downloadTask = new COSXMLDownloadTask(bucket, cosPath,
            localDir, localFileName);
             downloadTask.failCallback = delegate (CosClientException clientException, CosServerException serverException)
             {
-                Debug.LogError("clientException.errorCode : " + clientException.errorCode + "  serverException.errorCode: " + serverException.errorCode +
+                Debug.LogError("HJJ  ==clientException.errorCode : " + clientException.errorCode + "  serverException.errorCode: " + serverException.errorCode +
                     "  serverException.errorMessage : " + serverException.errorMessage);
             };
             downloadTask.onState += OnState;
@@ -175,13 +178,13 @@ public class COSDownLoad:MonoSingleton<COSDownLoad>
             catch (COSXML.CosException.CosClientException clientEx)
             {
                 //请求失败
-               Debug.LogError("CosClientException: " + clientEx);
+               Debug.LogError("HJJ  ==CosClientException: " + clientEx);
                 DownloadResManager.Instance.DownLoadFaild(downloadTask.localFileName);
             }
             catch (COSXML.CosException.CosServerException serverEx)
             {
                 //请求失败
-                Debug.LogError("CosServerException: " + serverEx.GetInfo());
+                Debug.LogError("HJJ  ==CosServerException: " + serverEx.GetInfo());
                 DownloadResManager.Instance.DownLoadFaild(downloadTask.localFileName);
             }
         

+ 6 - 6
Assets/MRNavigatorPro.unity

@@ -2202,7 +2202,7 @@ MeshFilter:
   m_PrefabInstance: {fileID: 0}
   m_PrefabAsset: {fileID: 0}
   m_GameObject: {fileID: 375338274}
-  m_Mesh: {fileID: 476266338}
+  m_Mesh: {fileID: 412869839}
 --- !u!114 &375338278
 MonoBehaviour:
   m_ObjectHideFlags: 0
@@ -2273,7 +2273,7 @@ Transform:
   m_Father: {fileID: 210725851}
   m_RootOrder: 5
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!43 &476266338
+--- !u!43 &412869839
 Mesh:
   m_ObjectHideFlags: 0
   m_CorrespondingSourceObject: {fileID: 0}
@@ -6643,7 +6643,7 @@ PrefabInstance:
     - target: {fileID: 2656584712679981451, guid: 3e8996c442fe40541beb734ca45f2bf6,
         type: 3}
       propertyPath: m_AnchoredPosition.y
-      value: -0.005122888
+      value: -0.0051100454
       objectReference: {fileID: 0}
     - target: {fileID: 2656584712838976906, guid: 3e8996c442fe40541beb734ca45f2bf6,
         type: 3}
@@ -6773,7 +6773,7 @@ PrefabInstance:
     - target: {fileID: 2656584713474595953, guid: 3e8996c442fe40541beb734ca45f2bf6,
         type: 3}
       propertyPath: m_AnchoredPosition.y
-      value: -0.0018789746
+      value: -0.0019259547
       objectReference: {fileID: 0}
     - target: {fileID: 2656584713571100915, guid: 3e8996c442fe40541beb734ca45f2bf6,
         type: 3}
@@ -9916,7 +9916,7 @@ PrefabInstance:
     - target: {fileID: 486518953982833418, guid: 6693e68f506a6c944b1783fb7e52a498,
         type: 3}
       propertyPath: m_AnchoredPosition.y
-      value: -0.0012144811
+      value: -0.0012504301
       objectReference: {fileID: 0}
     - target: {fileID: 486518953989235048, guid: 6693e68f506a6c944b1783fb7e52a498,
         type: 3}
@@ -13762,7 +13762,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 1}
   m_AnchorMax: {x: 1, y: 1}
-  m_AnchoredPosition: {x: 0, y: -0.0051207296}
+  m_AnchoredPosition: {x: 0, y: -0.0051504904}
   m_SizeDelta: {x: 0, y: 0}
   m_Pivot: {x: 0, y: 1}
 --- !u!114 &1180406930876628118

+ 2 - 2
Assets/Scripts/UI/LoginPanel.cs

@@ -261,8 +261,8 @@ public class LoginPanel : BaseUI
     {
 
 #if UNITY_EDITOR
-        m_AccountStr = "1768147286@qq.com";
-        //m_AccountStr = "666666@qq.com";
+     //   m_AccountStr = "1768147286@qq.com";
+        m_AccountStr = "Blue@163.com";
         //m_PasswordStr = "ghztech@402B";
 #endif
         if (string.IsNullOrWhiteSpace(m_AccountStr))

+ 1 - 1
Assets/Scripts/UI/SceneChoose.cs

@@ -94,7 +94,7 @@ public class SceneChoose : BaseUI
                 {
                     mes = jObject["data"].ToString();
                     SceneValue scene = JsonConvert.DeserializeObject<SceneValue>(mes);
-                    Debug.Log("scene.backgroundImages===>" );
+                    Debug.Log("scene.backgroundImages===>" + mes);
                     Debug.Log("scene.backgroundImages===>"+ scene.backgroundImages.Count);
                     GameManager.Instance.MapPicUrl = scene.backgroundImages[0].base64;
                     GameManager.Instance.GetMinMap(scene);