Scrolling and scrollbars in Unity - Unity UI tutorial

  Рет қаралды 118,000

Coco Code

Coco Code

Күн бұрын

Пікірлер: 103
@CocoCode
@CocoCode Ай бұрын
If you want to learn more and create more advanced UI elements 👉 Check out my newest course, Master Unity UI ➡ bit.ly/cc-unity-ui-16 It’s packed with everything you need to create awesome UI ✨🎨
@rncstuff9480
@rncstuff9480 3 жыл бұрын
As a developer, sometimes when you forget how to do something and have to review, being able to locate tutorials like this that are very well made, clearly spoken, and get straight to the point are a LIFESAVER. Thank you, please keep up this content, it is very much appreciated!
@CocoCode
@CocoCode 3 жыл бұрын
Great to hear! Good luck with your projects 🔥
@akmaludddin9281
@akmaludddin9281 9 ай бұрын
So True! Good luck Stranger!
@wilbrierly
@wilbrierly 3 жыл бұрын
Just wanted to say I tried a bunch of UI-related tutorials and for some reason, yours was the first one for me that actually clicked and helped me understand it better. Fast and to the point and well explained. Thanks for making the video!
@CocoCode
@CocoCode 3 жыл бұрын
It's great to hear stories like that, thank you! Be sure to check out my other Unity UI tutorials 🎉
@charithagoonewardena3095
@charithagoonewardena3095 3 жыл бұрын
Amazing work. Thanks! btw a side note: scroll area is just a game object
@finditout8101
@finditout8101 4 жыл бұрын
Bro frankly speaking, your tutorial are just amazing, you are the next brackeys of yt, ur content quality is increasing day by day, plz never give up , although u are underrated right now but remember all time are not same, just keep the spirit and good luck. 👏👏.
@CocoCode
@CocoCode 4 жыл бұрын
That is so awesome to hear! Thank you very much ❤️
@tonymax7503
@tonymax7503 Жыл бұрын
Thanks for that video. Unity's UI sometimes real messy even for experienced devs. You provide helpful information without useless details straightly about theme of the video!
@JasperMoerland
@JasperMoerland 11 ай бұрын
Tip: set the pivot of the panel to 0.5, 1 instead of 0.5, 0.5 to have it start at the top, not the middle
@maxsuponin5613
@maxsuponin5613 2 жыл бұрын
Now, you are the best youtube channel that i ever seen) thank you
@AdityaSriwastaw-r7n
@AdityaSriwastaw-r7n 2 ай бұрын
thank you ... i have watched your all video of master UI... it is really very helpful
@akshaymanthekar1032
@akshaymanthekar1032 8 ай бұрын
Very simple and elegant explanation!! Thank you COCO Code!
@FloraArs
@FloraArs Жыл бұрын
I loved this video in every detail,
@youtuber9991
@youtuber9991 2 ай бұрын
Epic content! Thanks a lot! This really helped me, good UI is so critical
@berkaydobrucali
@berkaydobrucali 11 ай бұрын
Very effective tutorial! Thank you!
@mavreon
@mavreon 3 жыл бұрын
What is this "Scroll Area"?
@deraminator945
@deraminator945 3 жыл бұрын
This helped me a LOT! Thanks :D
@nichegames9590
@nichegames9590 2 жыл бұрын
Simpler than I thought. Thanks for your help!
@vince2k09
@vince2k09 2 жыл бұрын
from where do you have scroll area and what do i have to do or what do i have to klick to get it, i dont understand
@timurradman3999
@timurradman3999 2 жыл бұрын
Very good This helps a lot, even for people that are experienced but haven't used some unity features in a while
@rasheedqe
@rasheedqe 3 жыл бұрын
Thank god for this video. A almost when mad trying to set up a scroll bar.
@xermi00
@xermi00 3 жыл бұрын
*THANK YOU SO MUCH MAN!* You literally saved me! :D I'm an amateur developer and I'm using scrolling system for my news page, and this is really well explained! I found more tutorials but much of people used a ton of scripts to make this thing working. But this is brilliant tutorial without much torture. *10/10* from me.
@luisalarcongames8756
@luisalarcongames8756 2 жыл бұрын
Incredible, this works perfectly, thank you so much
@2MARR8
@2MARR8 3 жыл бұрын
This tutorial is top notch, thank you!
@gerac
@gerac 2 жыл бұрын
Awesome tutorial!!! Took me just one attempt to make my scoreboard table ;) Thank you!!!
@aarondelgado3421
@aarondelgado3421 3 жыл бұрын
Great video! Keep up the good work!
@alperenates3850
@alperenates3850 Жыл бұрын
What an amazing channel!
@ДимаСеменов-ъ2ы
@ДимаСеменов-ъ2ы 10 ай бұрын
thank you - it is very interesting and useful lesson
@方エデン
@方エデン 3 жыл бұрын
Thank you very much for this guide!
@paulvonnapolski5024
@paulvonnapolski5024 2 жыл бұрын
Thank you for this video, it helped me a lot!
@mawrak
@mawrak 8 ай бұрын
Good tutorial, thank you!
@leiafrench6631
@leiafrench6631 Жыл бұрын
Thank you so much for this!
@buhpoi8085
@buhpoi8085 2 жыл бұрын
Thanks so much! Was very helpful and concise
@briciolino
@briciolino 2 жыл бұрын
Thank you so much, it was really helpful! it saved the day :)
@TREXYT
@TREXYT Жыл бұрын
bro that's cool and it works great but how can i save location of scroll area ? i want that it continue from last selected item
@ChaosEater39
@ChaosEater39 2 жыл бұрын
Cool video! you helped me very much
@calvinms7503
@calvinms7503 Жыл бұрын
if we have image instead of the text and each image has its raycast target ON, I cannot scroll when the mouse is on top of the image. Could you suggest a solution?
@mazdaybro
@mazdaybro Жыл бұрын
nice tutorial thankyou so much
@ButterKing-28
@ButterKing-28 2 жыл бұрын
at 0:51 how do you resize it? it doesn't show it on my screen
@mynameispatrickandiliveund7628
@mynameispatrickandiliveund7628 2 жыл бұрын
Thanks, helped a lot
@xtratoothpaste
@xtratoothpaste 2 жыл бұрын
Great video man. Only issue I had was my Scrollbar was a child of Scroll Area, and if it was outside of the Scroll Area it wouldn't appear, but if it was inside like how I originally had it, I couldn't interact with the scroll bar, it was just move as though I was swiping the screen to scroll. I fixed this by un-childing the scrollbar from the scroll area. Unsure if I made the wrong correction, because it looks like in yours , the scrollbar IS a child of Scroll Area. Either way I got it working, thanks!
@matuss4151
@matuss4151 3 жыл бұрын
thanks for the video
@hmstark
@hmstark 2 жыл бұрын
Loved it💥
@Pation655
@Pation655 Жыл бұрын
bardzo przydatne, dziękuję :)
@braindeadgamedev
@braindeadgamedev Жыл бұрын
Dzięki byku za ten tutorial
@nyrab.6239
@nyrab.6239 Жыл бұрын
again similar comment as in another video - just loving your videos♥, i can always learn so much from them, could you also make a video on this topic for the UI-Toolkit?🙏🙏 I'm struggling so darn much with this
@ianhubble9973
@ianhubble9973 3 жыл бұрын
Should be a no-brainer, but also DO NOT delete EventSystem from the project. Accidently did that at one point and wandered for an hour trying to figure out why I couldn't interact with the Canvas
@frenchyboy4804
@frenchyboy4804 2 жыл бұрын
lmao good job
@frenchyboy4804
@frenchyboy4804 2 жыл бұрын
Yeah I got really stuck because of that one time for like 3 months didn't know wtf happened and I couldn't develop the game. One day I read about event systems and I got so pissed.
@mikoaj8796
@mikoaj8796 2 жыл бұрын
Dzięki za pomoc, super filmik :)
@bezsedna5563
@bezsedna5563 4 ай бұрын
Thank you Boss :pp
@dudubertol
@dudubertol Жыл бұрын
Valeu demais pelo vídeo cara. Procurei o yt inteiro e não achei nada parecido. Completo e sucinto. Brasil agradece!
@FuzzyDPozzy
@FuzzyDPozzy 3 жыл бұрын
the first scrollilng list is always buggy , sometimes it works sometimes it doesn't wasted 1 hour..and didn't seem to make it work
@bezsedna5563
@bezsedna5563 4 ай бұрын
Zajebista robota
@worion
@worion 24 күн бұрын
awesome
@gabrielemartina6163
@gabrielemartina6163 5 ай бұрын
How do you resize at 0:50 on fly? I always change the size of object using the x y into the inspecator, pretty annoyng
@CocoCode
@CocoCode 5 ай бұрын
Make sure to use "Rect tool" (press T on your keyboard)
@gabrielemartina6163
@gabrielemartina6163 5 ай бұрын
@@CocoCode Even typing T or Rect Tool the object does not appear with the edges to be resized, I'm using unity 2020
@arunachalpradesh399
@arunachalpradesh399 Жыл бұрын
there should be something like destroy if text is out of screen, it takes lots of memory if there is 100 of texts
@OtiZ2
@OtiZ2 11 ай бұрын
is possible add more rows. And add vertical scroll with multiple individual horizontal scrolling rows?
@CocoCode
@CocoCode 11 ай бұрын
Yup, just put scroll view inside the scroll view. But remember that it might be a bit tricky to figure out which scroll should trigger
@JDE19
@JDE19 Жыл бұрын
mines going out of menu screen, any suggestions to keep my content inside the box?
@NBGTZ
@NBGTZ 2 жыл бұрын
Hello first This was very helpful but when I scroll the content go right back down and I need that when You scroll the content stays and not reset to position How can fix it please?
@koferperk
@koferperk 2 жыл бұрын
Go to object: ScrollArea Look at script "Scroll Rect" change movement type to "unrestricted"
@CocoCode
@CocoCode 4 жыл бұрын
Thanks for stopping by! Check out my other Unity UI tutorials here: kzbin.info/aero/PL1aAeF6bPTB5N-_01xjNIOg9_refqTxVv 🟣 Also check out my Discord server: ​discord.gg/hNnZRnqf4s​
@zfhung4731
@zfhung4731 3 ай бұрын
ScrollView inside Elements Replace to inputfield cannot scroll on the inputfield,how to fix it?
@peileed
@peileed 2 жыл бұрын
following the same steps with buttons gives me some very bad results, the scroll starts moving by itself, snaps randomly, when I click and release the scroll keeps on following the mouse etc, Unity makes scrolling a massive chore
@_Garm_
@_Garm_ 4 жыл бұрын
nice one! :D
@CocoCode
@CocoCode 4 жыл бұрын
Thanks! 😄
@trueblue97
@trueblue97 Жыл бұрын
This is awesome, but anyome know how to make a scroll view that works better one mobile? For me its a bit strange on mobile, and I have no clue how to adjust the scrolling speed, etc.
@Broockle
@Broockle 2 жыл бұрын
Awesome, Thank you! Also when you want the scroll to work in reverse you can make it -20. For us mouse users out there 😅
@Oudipus
@Oudipus 3 жыл бұрын
Is it also working, when I am bulding a phone game?
@BlueMatterMan
@BlueMatterMan 3 ай бұрын
"I've already prepared 'scroll area," OKAY WELL MAYBE I NEED TO KNOW HOW TO DO THAT PART!
@gamesmunch
@gamesmunch 4 жыл бұрын
great tutorial make a video how to set the leader board according to the get data from play fab in game with name and score
@What-a-save
@What-a-save 8 ай бұрын
What about auto scrolling? you need it when you are using a controller
@What-a-save
@What-a-save 17 күн бұрын
yub
@jamesshepherd8100
@jamesshepherd8100 4 жыл бұрын
Hi I have just discovered your channel. It seems quite a usefull resource, good job, keep going :) I have stumbled on this trying to learn how to make an inventory system where you may navigate a scroll rect button list, using arrow keys, in a manner that the view adjusts itself when an item (button) is sellected that is not within the visible area. (kind of like the Witcher clip you had in the intro) Would you happen to know how to do this? Maybe you could do a tutorial about that :) Cheers
@CocoCode
@CocoCode 4 жыл бұрын
Hey, thank you! The topic you asked for is quite difficult. I'll try to find the best way to do it and maybe I'll cover that in the future video
@GokdenizCetin
@GokdenizCetin 10 күн бұрын
When I scroll, it is going to infinitely. How to fix it?
@rekiallard77
@rekiallard77 3 ай бұрын
Mengapa value kembali ke 0.5 terus ?
@ВладГалкин-р2б
@ВладГалкин-р2б 2 жыл бұрын
ty)
@kakaukooo
@kakaukooo 3 жыл бұрын
fajny film;)
@nikson12gg
@nikson12gg 2 ай бұрын
Instead of texts starting from up and moving down, i wanted texts to start from below and moving up. Changing content's "Child Alignment" doesn't do anything for me :( Can anyone help? Edit: fixed it by editing Content's Pivot(0.5, 0), setting Content's posY to 0 and editing Content's Reverse Arrangement
@antonymorsas
@antonymorsas 2 жыл бұрын
I love you coco code
@PedrovoriskAB
@PedrovoriskAB 3 ай бұрын
Thank you!! but mine doesnt move =P
@electrodev.
@electrodev. Жыл бұрын
the content size fitter keeps making the height to zero....
@eliosar7929
@eliosar7929 3 жыл бұрын
Hi, nice Video! 10/10 described, but the scrollbar from me isn't working well. When i scroll to the left, the Handle is "scrolling" to the right. Anyone have the problem too? or, better, the solution of this problem?
@frenchyboy4804
@frenchyboy4804 2 жыл бұрын
Maybe it's flipped upside down.
@eliosar7929
@eliosar7929 2 жыл бұрын
@@frenchyboy4804 thanks, i'll look at that.
@allister6092
@allister6092 Жыл бұрын
I have the same problem, my content randomly changes in the scroll bar, my scroll bar thinks it's upside down? (down = up, up = down) Very strange.
@l1nx99
@l1nx99 2 жыл бұрын
Fajny easter egg że dałeś polskie nicki
@Andredy89
@Andredy89 2 жыл бұрын
Why Unity completely forgot that many games playing without a mouse... try to scroll using gamepad only... And waste your time to make your own autoscroll solution instead of developing your game...
@skamzababy6017
@skamzababy6017 3 жыл бұрын
lmao as soon as i add layout groups my content disappears of screen
@russellzeeryp9067
@russellzeeryp9067 2 жыл бұрын
simple enough, but doesn't seem to work correctly. At least not for me.
@congchung92
@congchung92 Жыл бұрын
me too, gameObject does not scroll
@starbuck3980
@starbuck3980 2 жыл бұрын
Doesnt work, tried in unity 2021 and created the scroll rect having as child a horizontal layout group with content size fitter with preferred size the horizontal and adding some images and dont move at all dragging with mouse, also this would need a mask
@starbuck3980
@starbuck3980 2 жыл бұрын
When i scroll down bounces back up. Unity still uses this total disaster in Unity 2021
@axeldaelmans7215
@axeldaelmans7215 Ай бұрын
doesnt work, it just scrolls off my screen and doesnt the f* do what i ask it to.
@DatBoi893
@DatBoi893 Жыл бұрын
This doesn't work for the it doesn't scroll at all
@TheEnglishQuail
@TheEnglishQuail 3 жыл бұрын
doesn't work
@LetWorkTogether
@LetWorkTogether 2 жыл бұрын
Your pronunciations get some mistakes, such as 'content', 'spacing'... Please keep an eye on pronunciations. Even though, your content is so beloved! I feel like finding out a gold mine of Unity tutorials. :D
Подсадим людей на ставки | ЖБ | 3 серия | Сериал 2024
20:00
ПАЦАНСКИЕ ИСТОРИИ
Рет қаралды 510 М.
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 38 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 9 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 14 МЛН
Audiomodern Soundbox Instrument Platform Tutorial - Getting Started [GIVEAWAY]
21:12
Victim - Animator vs. Animation 11
20:24
Alan Becker
Рет қаралды 3,1 МЛН
How to Start Making Games with No Experience
10:55
Goodgis
Рет қаралды 211 М.
Scroll View in Unity - 2021 Tutorial
7:37
Tarodev
Рет қаралды 115 М.
Drag and drop in Unity UI - create your own inventory UI!
12:47
Coco Code
Рет қаралды 116 М.
Making UI That Looks Good In Unity
18:06
Game Dev Guide
Рет қаралды 694 М.
Unity UI Tutorial - How To Make UI Scroll View With Scroll Bar
8:44
Denys Gamers Tutorial
Рет қаралды 29 М.
How to: Dynamic Scroll View in Unity
12:42
samyam
Рет қаралды 36 М.
Подсадим людей на ставки | ЖБ | 3 серия | Сериал 2024
20:00
ПАЦАНСКИЕ ИСТОРИИ
Рет қаралды 510 М.