Unity 5 UI Tutorial - Scroll Rect Snap to Element : Part 01

preview_player
Показать описание
In this tutorial i'll show you how to snap a UI ScrollRect to it's child elements.

Subscribe and like if you want more tutorials :)
Рекомендации по теме
Комментарии
Автор

Superb video. Note to self: Never again waste time screwing around looking at completed scripts, asset packs, or github repos that claim to implement endless scrolling and/or snapping. Just watch this video and make something you understand completely and can extend.

ferretnt
Автор

Not sure if unity had a scroll view and grid layout groop when u made this video. But now u can do all of this with just those 2 elements.

ExoticSenta
Автор

You don't need to add buttons manually.
That code does everything for you. Add it in Start() method:

bttn =

It grabs only buttons. You can modify for any type you want.

KatinoBerete
Автор

Thank you for this sir, uhm i have a question is it fine if i am going to put a sound in every button?

kimberlyolivo
Автор

Thank you for this Author. Very helped my Unity Studying. :)

solemnchicken
Автор

i love you please make more tutorials about unity UI system

mr.mysteriousyt
Автор

Doesn't work on Unity 2018 anymore, it doesn't let me scrol more than one buttons and firmly wants to re-adjust the buttons to their original place.

rezaabdollahi
Автор

Thank you so much, I will watch this later!

CarlosGarcia-bjpy
Автор

Hey Thanks for awnsering that quick. i'll try it. Hope i will reach that Target :)

renebrix
Автор

Thank you for sharing.  It's very concise.

MMJiang
Автор

Well done! Thank you for the tutorial, really helped me out.

ronniethbear
Автор

Great tutorial.
I need to have two buttons that the user can click to scroll left or right as well as drag. I'm able to get it to jump to the next item but I would like it to Lerp. Would you have a suggestion on how to do this?

joebonavita
Автор

Thank you very much, this help me so much!

dcy
Автор

Hello, With the unity program, you can block the horizontal movement of the magic mouse, so you can not do back history?

dsrll
Автор

Thank you! This series of tutorials is fantastic. Everything works exactly as described. I am having trouble adding nav buttons (next, previous) though - I want the player to be able to scroll left or right using buttons at either side of the sliding panel. Any suggestions?

TheAwfulTruth
Автор

First I want to say thanks for making this videos! What would be the best way to display level names when the level is in the center?

kyleprather
Автор

Everything works well in unity editor, but after building it for phone, the scroll does not respond to quick swipe of fingers on the screen. how can we fix this issue?!

sandeepbhandari
Автор

Hi there! Was wondering if it would work in VR. Would there be a way to hide the elements that are out of the field of view?

diego_dandrea
Автор

hi there, i am trying to develop a card stack, in which user can swipe left or right, could not find any help with that, would you do me that favor please.

Mohammadkashifkhan
Автор

This Scroll Rect Snap works only for Unrestricted, Please share how it works for "Elastic" Movement Type.

poojagarg