|
@@ -298,7 +298,7 @@ namespace GFGGame
|
|
|
GameObject gameObject = _ui.m_comSelectBox.target.data as GameObject;
|
|
|
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);
|
|
|
Debug.Log("pt1" + pt1 + " pt2:" + pt2);
|
|
|
|