Get Side Positions of a Scaled Cube

Hello, How can i get the corner Positions of a scaled cube? i.e
69710-unbenannt.png

Even though the sketch is 2d, imagine it beeing 3d :stuck_out_tongue:
Thanks in Advance.

Meshes all contain a member called “bounds”: Unity - Scripting API: Mesh.bounds

I think this what you want. Keep in mind, mesh.bounds will give you the local/model-space values for your mesh boundries.
If you want the WORLD values, you might choose to use a different version of “bounds”, the one provided by Renderer components:

You could also compute it manually, though obviously, that’s a bit trickier. Let me know if you want more details on that.