Beispiel #1
0
        //TODO: Make this work for arbitrary origin meshes

        static public void SetBounds(this MeshFilter item, Bounds bounds)
        {
            item.SetSize(bounds.size);
            item.SetSpacarPosition(bounds.center);
        }