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