Example #1
0
 public static extern bool GetCursorPos(out CursorPoint pos);
Example #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));
 }