Scrolling and scrollbars in Unity - Unity UI tutorial

  Рет қаралды 112,632

Coco Code

Coco Code

Күн бұрын

Пікірлер: 98
@CocoCode
@CocoCode 3 жыл бұрын
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​
@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 7 ай бұрын
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 🎉
@finditout8101
@finditout8101 3 жыл бұрын
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 3 жыл бұрын
That is so awesome to hear! Thank you very much ❤️
@charithagoonewardena3095
@charithagoonewardena3095 3 жыл бұрын
Amazing work. Thanks! btw a side note: scroll area is just a game object
@tonymax7503
@tonymax7503 11 ай бұрын
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!
@AdityaSriwastaw-r7n
@AdityaSriwastaw-r7n 28 күн бұрын
thank you ... i have watched your all video of master UI... it is really very helpful
@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.
@JasperMoerland
@JasperMoerland 10 ай бұрын
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
@youtuber9991
@youtuber9991 7 күн бұрын
Epic content! Thanks a lot! This really helped me, good UI is so critical
@akshaymanthekar1032
@akshaymanthekar1032 6 ай бұрын
Very simple and elegant explanation!! Thank you COCO Code!
@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 2 жыл бұрын
Thank god for this video. A almost when mad trying to set up a scroll bar.
@nichegames9590
@nichegames9590 2 жыл бұрын
Simpler than I thought. Thanks for your help!
@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!
@gerac
@gerac 2 жыл бұрын
Awesome tutorial!!! Took me just one attempt to make my scoreboard table ;) Thank you!!!
@FloraArs
@FloraArs 11 ай бұрын
I loved this video in every detail,
@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
@maxsuponin5613
@maxsuponin5613 2 жыл бұрын
Now, you are the best youtube channel that i ever seen) thank you
@berkaydobrucali
@berkaydobrucali 9 ай бұрын
Very effective tutorial! Thank you!
@mavreon
@mavreon 3 жыл бұрын
What is this "Scroll Area"?
@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
@luisalarcongames8756
@luisalarcongames8756 2 жыл бұрын
Incredible, this works perfectly, thank you so 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?
@deraminator945
@deraminator945 3 жыл бұрын
This helped me a LOT! Thanks :D
@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 :)
@nyrab.6239
@nyrab.6239 10 ай бұрын
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
@方エデン
@方エデン 3 жыл бұрын
Thank you very much for this guide!
@bezsedna5563
@bezsedna5563 2 ай бұрын
Zajebista robota
@paulvonnapolski5024
@paulvonnapolski5024 2 жыл бұрын
Thank you for this video, it helped me a lot!
@ButterKing-28
@ButterKing-28 2 жыл бұрын
at 0:51 how do you resize it? it doesn't show it on my screen
@2MARR8
@2MARR8 3 жыл бұрын
This tutorial is top notch, thank you!
@mawrak
@mawrak 6 ай бұрын
Good tutorial, thank you!
@dudubertol
@dudubertol Жыл бұрын
Valeu demais pelo vídeo cara. Procurei o yt inteiro e não achei nada parecido. Completo e sucinto. Brasil agradece!
@ДимаСеменов-ъ2ы
@ДимаСеменов-ъ2ы 8 ай бұрын
thank you - it is very interesting and useful lesson
@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
@Pation655
@Pation655 Жыл бұрын
bardzo przydatne, dziękuję :)
@leiafrench6631
@leiafrench6631 Жыл бұрын
Thank you so much for this!
@aarondelgado3421
@aarondelgado3421 3 жыл бұрын
Great video! Keep up the good work!
@braindeadgamedev
@braindeadgamedev Жыл бұрын
Dzięki byku za ten tutorial
@alperenates3850
@alperenates3850 Жыл бұрын
What an amazing channel!
@What-a-save
@What-a-save 6 ай бұрын
What about auto scrolling? you need it when you are using a controller
@zfhung4731
@zfhung4731 Ай бұрын
ScrollView inside Elements Replace to inputfield cannot scroll on the inputfield,how to fix it?
@ChaosEater39
@ChaosEater39 2 жыл бұрын
Cool video! you helped me very much
@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
@JDE19
@JDE19 Жыл бұрын
mines going out of menu screen, any suggestions to keep my content inside the box?
@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.
@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
@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"
@mazdaybro
@mazdaybro Жыл бұрын
nice tutorial thankyou so much
@mynameispatrickandiliveund7628
@mynameispatrickandiliveund7628 2 жыл бұрын
Thanks, helped a lot
@OtiZ2
@OtiZ2 9 ай бұрын
is possible add more rows. And add vertical scroll with multiple individual horizontal scrolling rows?
@CocoCode
@CocoCode 9 ай бұрын
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
@hmstark
@hmstark 2 жыл бұрын
Loved it💥
@mikoaj8796
@mikoaj8796 2 жыл бұрын
Dzięki za pomoc, super filmik :)
@gabrielemartina6163
@gabrielemartina6163 3 ай бұрын
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 3 ай бұрын
Make sure to use "Rect tool" (press T on your keyboard)
@gabrielemartina6163
@gabrielemartina6163 3 ай бұрын
@@CocoCode Even typing T or Rect Tool the object does not appear with the edges to be resized, I'm using unity 2020
@Broockle
@Broockle Жыл бұрын
Awesome, Thank you! Also when you want the scroll to work in reverse you can make it -20. For us mouse users out there 😅
@rekiallard77
@rekiallard77 Ай бұрын
Mengapa value kembali ke 0.5 terus ?
@nikson12gg
@nikson12gg 20 күн бұрын
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
@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.
@Oudipus
@Oudipus 3 жыл бұрын
Is it also working, when I am bulding a phone game?
@bezsedna5563
@bezsedna5563 2 ай бұрын
Thank you Boss :pp
@matuss4151
@matuss4151 2 жыл бұрын
thanks for the video
@jamesshepherd8100
@jamesshepherd8100 3 жыл бұрын
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 3 жыл бұрын
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
@BlueMatterMan
@BlueMatterMan Ай бұрын
"I've already prepared 'scroll area," OKAY WELL MAYBE I NEED TO KNOW HOW TO DO THAT PART!
@gamesmunch
@gamesmunch 3 жыл бұрын
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
@electrodev.
@electrodev. Жыл бұрын
the content size fitter keeps making the height to zero....
@PedrovoriskAB
@PedrovoriskAB Ай бұрын
Thank you!! but mine doesnt move =P
@_Garm_
@_Garm_ 3 жыл бұрын
nice one! :D
@CocoCode
@CocoCode 3 жыл бұрын
Thanks! 😄
@ВладГалкин-р2б
@ВладГалкин-р2б 2 жыл бұрын
ty)
@kakaukooo
@kakaukooo 3 жыл бұрын
fajny film;)
@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
@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 11 ай бұрын
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.
@antonymorsas
@antonymorsas 2 жыл бұрын
I love you coco code
@DatBoi893
@DatBoi893 Жыл бұрын
This doesn't work for the it doesn't scroll at all
@russellzeeryp9067
@russellzeeryp9067 Жыл бұрын
simple enough, but doesn't seem to work correctly. At least not for me.
@congchung92
@congchung92 10 ай бұрын
me too, gameObject does not scroll
@l1nx99
@l1nx99 2 жыл бұрын
Fajny easter egg że dałeś polskie nicki
@starbuck3980
@starbuck3980 2 жыл бұрын
When i scroll down bounces back up. Unity still uses this total disaster in Unity 2021
@skamzababy6017
@skamzababy6017 3 жыл бұрын
lmao as soon as i add layout groups my content disappears of screen
@TheEnglishQuail
@TheEnglishQuail 3 жыл бұрын
doesn't work
@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...
@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
Drag and drop in Unity UI - create your own inventory UI!
12:47
Coco Code
Рет қаралды 110 М.
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 121 МЛН
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 129 МЛН
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
How To Make A Game Alone
8:11
Thomas Brush
Рет қаралды 1,1 МЛН
How Two People Created Gaming’s Most Complex Simulation System
38:54
ThatGuyGlen
Рет қаралды 1,4 МЛН
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 720 М.
Scroll View. Пошаговое создание. Unity3D
12:03
Unity Developer
Рет қаралды 11 М.
Scroll View in Unity - 2021 Tutorial
7:37
Tarodev
Рет қаралды 110 М.
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 121 МЛН