- Home /
Focus on Selected Item in Vertical Scrollview
Something like this kind of levels selection layout my game has:
There are total 54 levels in the game and at a time as per UI design only 5 to 7 level buttons remain in the screen so user has to scroll up and down to view all the levels.
This way i have implemented Unity UI ScrollView element within the game and it working perfectly.
Now I want to show level that is currently selected by the user by default system is show first level when I load this scrollview panel though the user is reached at level 34.
At present, user has to scroll up to reach at level 34 and then click on it to start the game.
I directly want to show level 34 on screen so user can directly click and start the game because all past levels were finished by the player.
I knew there is some coding required to do but I am not aware about this.
Please give me some direction into this.