zhaoyang 3 years ago
parent
commit
c468805b72

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/DressUp/PhotographView.cs

@@ -298,7 +298,7 @@ namespace GFGGame
             GameObject gameObject = _ui.m_comSelectBox.target.data as GameObject;
             GameObject gameObject = _ui.m_comSelectBox.target.data as GameObject;
             InputEvent inputEvent = (InputEvent)context.data;
             InputEvent inputEvent = (InputEvent)context.data;
 
 
-            Vector2 pt1 = this.viewCom.GlobalToLocal(new Vector2(inputEvent.x, inputEvent.y)) / gameObject.transform.localScale;
+            Vector2 pt1 = this.viewCom.GlobalToLocal(new Vector2(inputEvent.x, inputEvent.y) / gameObject.transform.localScale);
             Vector2 pt2 = new Vector2(_ui.m_comSelectBox.target.x, _ui.m_comSelectBox.target.y);
             Vector2 pt2 = new Vector2(_ui.m_comSelectBox.target.x, _ui.m_comSelectBox.target.y);
             Debug.Log("pt1" + pt1 + "   pt2:" + pt2);
             Debug.Log("pt1" + pt1 + "   pt2:" + pt2);