Тёмный

Scrolling and scrollbars in Unity - Unity UI tutorial 

Coco Code
Подписаться 52 тыс.
Просмотров 111 тыс.
50% 1

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 97   
@CocoCode
@CocoCode 3 года назад
Thanks for stopping by! Check out my other Unity UI tutorials here: ru-vid.com/group/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!
@charithagoonewardena3095
@charithagoonewardena3095 2 года назад
Amazing work. Thanks! btw a side note: scroll area is just a game object
@mavreon
@mavreon 2 года назад
What is this "Scroll Area"?
@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 ❤️
@vince2k09
@vince2k09 Год назад
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
@russellzeeryp9067
@russellzeeryp9067 Год назад
simple enough, but doesn't seem to work correctly. At least not for me.
@congchung92
@congchung92 9 месяцев назад
me too, gameObject does not scroll
@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...
@nikson12gg
@nikson12gg День назад
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 2 года назад
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.
@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?
@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
@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
@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
@AdityaSriwastaw-r7n
@AdityaSriwastaw-r7n 9 дней назад
thank you ... i have watched your all video of master UI... it is really very helpful
@ButterKing-28
@ButterKing-28 2 года назад
at 0:51 how do you resize it? it doesn't show it on my screen
@BlueMatterMan
@BlueMatterMan Месяц назад
"I've already prepared 'scroll area," OKAY WELL MAYBE I NEED TO KNOW HOW TO DO THAT PART!
@zfhung4731
@zfhung4731 28 дней назад
ScrollView inside Elements Replace to inputfield cannot scroll on the inputfield,how to fix it?
@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
@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 🎉
@starbuck3980
@starbuck3980 Год назад
When i scroll down bounces back up. Unity still uses this total disaster in Unity 2021
@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.
@rekiallard77
@rekiallard77 21 день назад
Mengapa value kembali ke 0.5 terus ?
@What-a-save
@What-a-save 6 месяцев назад
What about auto scrolling? you need it when you are using a controller
@pedroaboffa
@pedroaboffa 17 дней назад
Thank you!! but mine doesnt move =P
@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"
@ДимаСеменов-ъ2ы
@ДимаСеменов-ъ2ы 8 месяцев назад
thank you - it is very interesting and useful lesson
@electrodev.
@electrodev. Год назад
the content size fitter keeps making the height to zero....
@FloraArs
@FloraArs 10 месяцев назад
I loved this video in every detail,
@l1nx99
@l1nx99 2 года назад
Fajny easter egg że dałeś polskie nicki
@OtiZ2
@OtiZ2 8 месяцев назад
is possible add more rows. And add vertical scroll with multiple individual horizontal scrolling rows?
@CocoCode
@CocoCode 8 месяцев назад
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
@DatBoi893
@DatBoi893 Год назад
This doesn't work for the it doesn't scroll at all
@mawrak
@mawrak 5 месяцев назад
Good tutorial, thank you!
@Pation655
@Pation655 Год назад
bardzo przydatne, dziękuję :)
@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
@deraminator945
@deraminator945 3 года назад
This helped me a LOT! Thanks :D
@bezsedna5563
@bezsedna5563 Месяц назад
Thank you Boss :pp
@starbuck3980
@starbuck3980 Год назад
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
@bezsedna5563
@bezsedna5563 Месяц назад
Zajebista robota
@tonymax7503
@tonymax7503 10 месяцев назад
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!
@akshaymanthekar1032
@akshaymanthekar1032 5 месяцев назад
Very simple and elegant explanation!! Thank you COCO Code!
@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!
@JasperMoerland
@JasperMoerland 9 месяцев назад
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
@JDE19
@JDE19 Год назад
mines going out of menu screen, any suggestions to keep my content inside the box?
@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
@rasheedqe
@rasheedqe 2 года назад
Thank god for this video. A almost when mad trying to set up a scroll bar.
@luisalarcongames8756
@luisalarcongames8756 2 года назад
Incredible, this works perfectly, thank you so much
@briciolino
@briciolino 2 года назад
Thank you so much, it was really helpful! it saved the day :)
@timurradman3999
@timurradman3999 Год назад
Very good This helps a lot, even for people that are experienced but haven't used some unity features in a while
@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
@antonymorsas
@antonymorsas 2 года назад
I love you coco code
@gerac
@gerac Год назад
Awesome tutorial!!! Took me just one attempt to make my scoreboard table ;) Thank you!!!
@berkaydobrucali
@berkaydobrucali 8 месяцев назад
Very effective 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!
@skamzababy6017
@skamzababy6017 2 года назад
lmao as soon as i add layout groups my content disappears of screen
@Oudipus
@Oudipus 3 года назад
Is it also working, when I am bulding a phone game?
@maxsuponin5613
@maxsuponin5613 2 года назад
Now, you are the best youtube channel that i ever seen) thank you
@buhpoi8085
@buhpoi8085 2 года назад
Thanks so much! Was very helpful and concise
@paulvonnapolski5024
@paulvonnapolski5024 2 года назад
Thank you for this video, it helped me a lot!
@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
@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.
@mazdaybro
@mazdaybro Год назад
nice tutorial thankyou so much
@方エデン
@方エデン 3 года назад
Thank you very much for this guide!
@leiafrench6631
@leiafrench6631 Год назад
Thank you so much for this!
@nichegames9590
@nichegames9590 2 года назад
Simpler than I thought. Thanks for your help!
@ChaosEater39
@ChaosEater39 2 года назад
Cool video! you helped me very much
@ВладГалкин-р2б
@ВладГалкин-р2б 2 года назад
ty)
@braindeadgamedev
@braindeadgamedev Год назад
Dzięki byku za ten tutorial
@matuss4151
@matuss4151 2 года назад
thanks for the video
@alperenates3850
@alperenates3850 Год назад
What an amazing channel!
@aarondelgado3421
@aarondelgado3421 3 года назад
Great video! Keep up the good work!
@mynameispatrickandiliveund7628
@mynameispatrickandiliveund7628 2 года назад
Thanks, helped a lot
@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 10 месяцев назад
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.
@2MARR8
@2MARR8 2 года назад
This tutorial is top notch, thank you!
@mikoaj8796
@mikoaj8796 2 года назад
Dzięki za pomoc, super filmik :)
@TheEnglishQuail
@TheEnglishQuail 3 года назад
doesn't work
@hmstark
@hmstark 2 года назад
Loved it💥
@kakaukooo
@kakaukooo 3 года назад
fajny film;)
@_Garm_
@_Garm_ 3 года назад
nice one! :D
@CocoCode
@CocoCode 3 года назад
Thanks! 😄
@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 😅
@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
Далее
Teeth gadget every dentist should have 😬
00:20
Просмотров 975 тыс.
FATAL CHASE 😳 😳
00:19
Просмотров 1,6 млн
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 716 тыс.
Scroll View in Unity - 2021 Tutorial
7:37
Просмотров 109 тыс.
Making UI That Looks Good In Unity
18:06
Просмотров 678 тыс.
3 Hours vs. 3 Years of Blender
17:44
Просмотров 5 млн
Making a Fake Multiplayer .io Game
11:03
Просмотров 147 тыс.
How To Make A Game Alone
8:11
Просмотров 1,1 млн
Teeth gadget every dentist should have 😬
00:20
Просмотров 975 тыс.