Scrolling is great, but don't scroll past the subscribe button and forget to press it ❤️ Wishlist my new game BUMBI on Steam! store.steampowered.com/app/2862470/BUMBI/
@GabrielGcbs Жыл бұрын
nice video! +1 sub
@Omphaloskopie Жыл бұрын
this is eerily close to what i was looking for. good tempo, too!
@samyam Жыл бұрын
Thank you so much for the donation! ❤️
@GabrielGcbs Жыл бұрын
For anyone having the same issue as me: padding, spacing and all dinamic settings weren't working no my prefab. I realized that the problem is that my prefab was an empty gameObject with another gameObjects as childs, and the image source for them was on spriteRenderer, but in order to work on scrollView, the objects must be Canvas Images, so go to UI->Image to create your image prefabs.
@Quinthelas Жыл бұрын
Thank you so much for this comment, I was having issues with the layout groups not working and thanks to your comment I realised to switch my sprite renderers into the image ones.
@TheMeeelting Жыл бұрын
Ive been working with unity for 8+ years now and I keep forgetting how to do this (as I maybe do it once every 3 years...) so I have to keep looking it up. This was short and to the point. Great video. Subscribed. Thank you.
@ShinichiKudoQatnip Жыл бұрын
Finally Samyam to the rescue, I cannot believe how small things like pivots fall out of my mind.
@seanloughran67142 жыл бұрын
Super clean and straight to the point. I'll be referencing this video a LOT in the future!
@AllOfTheAbove7772 жыл бұрын
Thank you Samyam, I was actually thinking about doing something with scrolling recently.
@gllmusic Жыл бұрын
This is an amazing tutorial. I didn't even know Unity had these features. It's so very easy.
@mutlugameofhalit2 ай бұрын
4:22 Today i spent 2 hour to create my self auto-sizer script, this is incredible and so funny that Unity have a component for this 😅😂😂 Today's lesson: You need to watch tutorial before you make something.
@peterferencz Жыл бұрын
Very clean, understandable and straight to the point. Love it, keep it up.
@obsleet2 жыл бұрын
Wow. This video covered a lot of gaps in my knowledge. Subbed for sure.
@santoshnalla22832 жыл бұрын
Can you show us how to add scroll view when we have large number of objects? Like dynamically display only few on screen
@pixelshenanigans15112 жыл бұрын
Another great video, Sam! I keep forgetting about those IPointerXxx interfaces, thanks for the reminder!
@meisterachi Жыл бұрын
thank you, the Layout Groups solved my issue I was trying to solve!
@nikunjsaraf51502 жыл бұрын
Just what I needed for my internship project!!! Thankss
@Moondog943 Жыл бұрын
Thanks for the great tutorial, with this and your other video about creating a leaderboard it helped me understand how to create a dynamically loading leaderboard! These have been super helpful and I know I can use your content as resources in the future
@samyam Жыл бұрын
Glad to hear! 😄
@uhrcru4 ай бұрын
SO COOL, It helped me a lot but would be cooler if you would explain how to add more items like 2x2 instead to 1x10
@mariokartgameplay66222 жыл бұрын
Nice. That's exactly what I was looking for🥳
@gamogis2 жыл бұрын
actually you could serialize and instantiante items not as gameObject but as ScrolViewItem, in this case you don't need to tryGetcomponent method and acces to properties and methods directly.
@MattRaffel2 жыл бұрын
I tried making this with a vertical layout group instead, but all of the child items were just centered in the middle.
@looopy12 жыл бұрын
you're a great teacher
@samyam2 жыл бұрын
Thank you!
@shaunmax81652 жыл бұрын
Is it possible to divide the horizontal scroll into 4 pages & then make the scroll to snap to each page?
@HausCoding2 жыл бұрын
Thank you! this is what i'm looking for 😁
@ShinichiKudoQatnip2 жыл бұрын
Such incredible timing, can you read my mind? 😍
@samyam2 жыл бұрын
Yes
@ShinichiKudoQatnip2 жыл бұрын
@@samyam 😱
@ligofleyens91312 жыл бұрын
It's a bit more complicated, but could you please teach how to make a book interface with page turning animation? Something like some games do (Skyrim I remember does)
@biswajeetchaudhuri8322 жыл бұрын
Thanks a lot for this tutorial. ❤️👍👏
@ligofleyens91312 жыл бұрын
That was so cool.
@ThiccyDev2 жыл бұрын
This is exactly what i need thank you 👍
@QHuy112 жыл бұрын
This is really helpful. Thanks a lot!!!
@amikay932 жыл бұрын
Buen vídeo como siempre 😃
@samyam2 жыл бұрын
Gracias!
@PICHONLINX Жыл бұрын
Praise you, oh, wise keeper of unity secrets and all things unknown! A lamb shall be offered in your name.
@seanloughran67142 жыл бұрын
I'm having a weird bug. When I copy and paste or drag my prefab into the Content panel, everything works fine. But when I instantiate through code exactly how you did, all of the items get squished and get negative sizes. Anyone have any ideas? I've had the worst luck with the [Horizontal/Vertical]Layout groups cause of things like this. EDIT: In code, I force the .sizeDelta to what I know it should be and it looks great. So weird!
@Sylfa2 жыл бұрын
Are you using the Start event/method? As far as I know the layout groups don't react to having items added to them so you have to trigger them to do a layout if you have already passed the layout phase.
@Hazzel313372 жыл бұрын
good one !
@asadickens93532 жыл бұрын
I have always done the content size calculations in code u.u ContentSizeFitter would have saved me soooo much math @.@ I also always put a button in the prefab for click events! I think the interface is generally better. Despite building many dynamic scroll views I still have more to learn /o/ thanks for the tid bits! Now one thing I couldn't solve was an infinite scrolling scroll view.... where the items loop back around. Conceptually I understand it, but mathematically it wasn't working right. I'm still alive so I will figure it out XD
@shubhampatel81932 жыл бұрын
Can you Make a Short Video on How to adjust Cinemachine Cam Sensitivity through Slider pls...
@biswajeetchaudhuri8322 жыл бұрын
Please make a tutorial for tab menu system. Like in shop menu of many casual games.
@vishwa26022 жыл бұрын
Hi💜Can you make a tutorial for opening portal from one scene to another scene.
@watercat12482 жыл бұрын
This definitely scrolling but what do you mean by dinamic? The only reason don't use scrolling very offended in unity is because the is don't work correctly wean you use arrow keys and dpad what I mean by that is let say that I have i list with items in the dinamic scrolling wail that player able to select with keyboard or controller the right item wean the go to the go out off the view area for some reason the don't move the don't scrolling the scroll bar
@samyam2 жыл бұрын
Adding in an infinite amount of items through code, and having the UI automatically fit any number of items.
@watercat12482 жыл бұрын
@@samyam do you know how to make the scrolling area to move wean the wean someone use keys and move in the object on scroll that is out of view area? If you don't know don't wory I will ask in the discord company
@jasonwilliams87302 жыл бұрын
👍
@jolene6911 Жыл бұрын
Thanks! I wasn’t aware of TryGetComponent() previously, it’s a great fail safe method. I added an else in there to Debug.LogError() when the component wasn’t found.