//------------------------------------------------------------ public static Bounds ScaleExtent(this Bounds bounds, Vector3 scalage) { return(BoundsEx.NewByExtent(bounds.center, Vector3.Scale(bounds.extents, scalage))); }
public static Bounds Extend(this Bounds bounds, Vector3 offset) { return(BoundsEx.NewByExtent(bounds.center, bounds.extents + offset)); }