UI rotation for mobile platforms

Hey everybody! I’m not sure I’ve chosen right forum branch to ask my question. But my question is:
How to rotate and change position of buttons in this way? (See in attached files)
Thanks!

3230916--247940--rotation.png

You can use a different layout group depending whether you are in portrait or landscape. You could try the DynamicLayoutGroup here; it automatically switches between vertical and horizontal layout based on the aspect ratio. If you want to use the orientation instead just check the Screen.orientation value.

-sam

1 Like

Nice! Thank you!