static bool WithinBounds(LODGroup group, Bounds bounds) { Bounds groupBounds = group.GetBounds(); // Use this approach if we are not going to split meshes and simply put the object in one volume or another return(Mathf.Approximately(bounds.size.magnitude, 0f) || bounds.Contains(groupBounds.center)); }