I'm a little lost. I need to generate 16 cubes in two rows and 8 columns within an existing game object. I want the top row to always start at the top of the existing game object and the bottom row to always rest on the bottom. The heights of the 16 cubes will be random but each column will always total 100% of the existing game object.
So, I don't understand the units properly on how to do this. My first attempt involved using localScale and localPosition but its not working at all. Can I please ask for recommendations on how to do this most easily? Here is my current code and I will attach a screenshot of what it produces.
line 55 in the paste you sent lol