Просмотр исходного кода

修改ShowChoose进入巡检弹窗位置

蓝色星空 1 год назад
Родитель
Сommit
816fd9c983

+ 1 - 1
Assets/Game/Blue/RTC/Service/InspectionService.cs

@@ -21,7 +21,7 @@ public class InspectionService : IInspectionService
                 JObject jobject = JObject.Parse(message);
                 if (jobject["code"].ToString() == "200" && !string.IsNullOrWhiteSpace(jobject["data"].ToString()))
                 {
-                    Debug.LogError("data:" + jobject["data"].ToString());
+                    //Debug.LogError("data:" + jobject["data"].ToString());
                     InspectionInfo = JsonConvert.DeserializeObject<InspectionInfo>(jobject["data"].ToString());
                     /*
                     Debug.LogError($"ID:{InspectionInfo.id}");

+ 12 - 4
Assets/Game/ShowChoose/ShowChoose.prefab

@@ -2809,6 +2809,10 @@ PrefabInstance:
   m_Modification:
     m_TransformParent: {fileID: 5466424356445212017}
     m_Modifications:
+    - target: {fileID: 1010238914566425220, guid: 5737d81e5a250f240bcb0e4487c44eab, type: 3}
+      propertyPath: m_SizeDelta.x
+      value: 1207.4
+      objectReference: {fileID: 0}
     - target: {fileID: 1010238914566425220, guid: 5737d81e5a250f240bcb0e4487c44eab, type: 3}
       propertyPath: m_AnchoredPosition.x
       value: -0.00018692
@@ -2875,11 +2879,11 @@ PrefabInstance:
       objectReference: {fileID: 0}
     - target: {fileID: 3099425425039806295, guid: 5737d81e5a250f240bcb0e4487c44eab, type: 3}
       propertyPath: m_SizeDelta.x
-      value: 1096
+      value: 1207.398
       objectReference: {fileID: 0}
     - target: {fileID: 3099425425039806295, guid: 5737d81e5a250f240bcb0e4487c44eab, type: 3}
       propertyPath: m_SizeDelta.y
-      value: 833.0936
+      value: 833.094
       objectReference: {fileID: 0}
     - target: {fileID: 3099425425039806295, guid: 5737d81e5a250f240bcb0e4487c44eab, type: 3}
       propertyPath: m_LocalScale.x
@@ -2923,11 +2927,11 @@ PrefabInstance:
       objectReference: {fileID: 0}
     - target: {fileID: 3099425425039806295, guid: 5737d81e5a250f240bcb0e4487c44eab, type: 3}
       propertyPath: m_AnchoredPosition.x
-      value: 214.28
+      value: 176.576
       objectReference: {fileID: 0}
     - target: {fileID: 3099425425039806295, guid: 5737d81e5a250f240bcb0e4487c44eab, type: 3}
       propertyPath: m_AnchoredPosition.y
-      value: 343.01
+      value: 202
       objectReference: {fileID: 0}
     - target: {fileID: 3099425425039806295, guid: 5737d81e5a250f240bcb0e4487c44eab, type: 3}
       propertyPath: m_LocalEulerAnglesHint.x
@@ -2953,6 +2957,10 @@ PrefabInstance:
       propertyPath: m_Sprite
       value: 
       objectReference: {fileID: 21300000, guid: 783c52eb68a339f45a4d6065637055f1, type: 3}
+    - target: {fileID: 7210159607545658313, guid: 5737d81e5a250f240bcb0e4487c44eab, type: 3}
+      propertyPath: m_Color.a
+      value: 1
+      objectReference: {fileID: 0}
     - target: {fileID: 8611997968110666693, guid: 5737d81e5a250f240bcb0e4487c44eab, type: 3}
       propertyPath: m_text
       value: "\u786E\u8BA4"