- Home /
Question by
jesselugassy_unity · Feb 07, 2021 at 06:50 PM ·
layoutgroup
is there a way to make a grid layout group instantiate children top to bottom instead of left to right?
is there a way to make a grid layout group instantiate children top to bottom instead of left to right?
Comment
https://docs.unity3d.com/2018.3/Documentation/ScriptReference/UI.GridLayoutGroup-startAxis.html
this is how you do it if anyone ever gets stuck on it
Answer by RodrigoAbreu · Feb 07, 2021 at 07:18 PM
Change its StartAxis to Vertical:
You can also play around with your StartCorner and ChildAlignment if you want to change some of its behaviour.
capture.png
(14.4 kB)