Commit 963d723b authored by lijin's avatar lijin

点击点整形话

parent 30daee06
...@@ -128,6 +128,8 @@ public class GameMgr : MonoBehaviour ...@@ -128,6 +128,8 @@ public class GameMgr : MonoBehaviour
} }
public void UseGun(Vector2 v) public void UseGun(Vector2 v)
{ {
v.x = (int)v.x;
v.y = (int)v.y;
OnClickPixel(v); OnClickPixel(v);
//List<Vector2> list = new List<Vector2>(); //List<Vector2> list = new List<Vector2>();
//for (int i = 0; i < gunSize; i++) //for (int i = 0; i < gunSize; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment