public static bool WithinLimits(this Bounds2D b, float value)
 {
     return(value >= b.min && value <= b.max);
 }
 public static float Clamp(this Bounds2D b, float value)
 {
     return(Mathf.Clamp(value, b.min, b.max));
 }
 public static Vector2 ToVector(this Bounds2D b)
 {
     return(new Vector2(b.min, b.max));
 }