Esempio n. 1
0
 public static Vector2 RelativePos(Rect rect, Vector3 inPos)
 {
     return(GUIHelpers.RelativePos(rect, inPos.x, inPos.y));
 }
Esempio n. 2
0
 public static Vector2 MouseRelativePos(Rect rect)
 {
     return(GUIHelpers.RelativePos(rect, GUIHelpers.mousePos.x, GUIHelpers.mousePos.y));
 }