Search code examples
c#user-interfaceunity-game-engine

How to change direction of expanding vertical layout group unity3d?


When I`m adding new elements on vertical layout group and when there is no more place to them vertical layout group starting to expand downstairs. How to make them adding from the top of each other?

What do I want:

  • 4th element
  • 3th element
  • 2nd element
  • 1st element

First element is always downstairs, next elements are spawning at top of it.

Thanks.


Solution

  • Ok, I found one solution. Idk if it is correct, but it is the simpliest one. Just need to rotate "Rect tranform" for 180 degrees. Solution in image

    The video of the result: google drive.