Browse Source

坐标丢远一点

Void_F 23 hours ago
parent
commit
406c38bafb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Assets/Scripts/UI/Item/ZhaMenIconCtrl.cs

+ 2 - 2
Assets/Scripts/UI/Item/ZhaMenIconCtrl.cs

@@ -35,7 +35,7 @@ public class ZhaMenIconCtrl : MonoBehaviour, IPointerEnterHandler, IPointerExitH
         );
 
 
-        rect.anchoredPosition = new Vector2(2000, 0);
+        rect.anchoredPosition = new Vector2(20000, 0);
         _camera = CameraManager.instance.mainCamera;
 
         targetTransForm = targetObj.transform;
@@ -51,7 +51,7 @@ public class ZhaMenIconCtrl : MonoBehaviour, IPointerEnterHandler, IPointerExitH
             }
             else
             {
-                rect.transform.position = new Vector3(2000, 0, 0);
+                rect.transform.position = new Vector3(20000, 0, 0);
             }
         }
     }