I’m wondering if it’s possible to get the real width (in unity units) of a GameObject and all of its children.
Use ‘Bounds’. You can use Renderer.Bounds and loop through all children in a Transform, unioning the bounds as you go.
I’m wondering if it’s possible to get the real width (in unity units) of a GameObject and all of its children.
Use ‘Bounds’. You can use Renderer.Bounds and loop through all children in a Transform, unioning the bounds as you go.