public static Vector2 PointInRect(this System.Random self, Rect rect) { return(new Vector2(self.RangeInclusive(rect.xMin, rect.xMax), self.RangeInclusive(rect.yMin, rect.yMax))); }
public static int RangeInclusive(int min, int max) { return(SharedRandom.RangeInclusive(min, max)); }