Reputation: 344
I'm a new in Unity, and I have an issue in resizing panels when screen size changed, I have 3 panels in big panel each panel has 1 active image and 2 hidden images and I want to not be intersected or have huge padding when screen size changed.
the following GIF shows my scenario.
So, how can I solve this?
Thanks in advance.
Upvotes: 0
Views: 799
Reputation: 511
For this you can use https://docs.unity3d.com/ru/2019.4/Manual/script-VerticalLayoutGroup.html, this component allow you to change size and padding for group of objects.
Upvotes: 2