示例#1
0
 public static extern bool GetCursorPos(out CursorPoint pos);
示例#2
0
 public static float Magnitude(CursorPoint a, CursorPoint b)
 {
     return(Mathf.Pow(Mathf.Pow(a.x - b.x, 2) + Mathf.Pow(a.y - b.y, 2), 0.5f));
 }