Scale X Size

Hi everyone!

So, I looked for a explanation about this, but I not found it. What is the difference between Scale (in inspector), transform.scale and bounds.size?

Scale through the Inspector and transform.scale are the same thing. One’s just for doing in the Editor, and the other’s how you do it through code.

Bounds is how you access the AABB (Axis-aligned bounding box) of a Collider/Mesh/Renderer, usually for doing calculations on positioning or intersection.

1 Like