Level Selection Screen
I created a level selection screen for my game, but I'm not sure if what I did is considered a good approach. Here is what I did:
I created a "Panel" with a "Scroll Rect" component.
I created an empty object and made it a child of that "Panel"
Added "Vertical Layout" component to that empty game object (I want to scroll vertically)
Created buttons and made them children of that empty game object which is a child of the "Panel" and also occupies the "Content" property in the "Scroll Rect" component
So far it works as expected but with one problem:
I want the screen to automatically scroll up to the latest level the player unlocks.
Answer by Nerevar · Feb 19, 2016 at 03:59 PM
Hello,
You just need to set the verticalNormalizedPosition to 0 or 1 depending on your scrollrect orientation setup. If that does not work maybe set the value through your vertical bar Scrollbar.value
Your answer
Follow this Question
Related Questions
Multiple Scroll Not Working 0 Answers
Scroll View optimization with large amount of items 0 Answers
How to prevent scroll rect's content from moving after it reached its borders? 0 Answers
How to make a scroll rect NOT overflow? 1 Answer
ScrollRect.LateUpdate Performance Spike Optimization Help 0 Answers