Handle Scrolling UI Like a Commercial Game (Animations + AutoScrolling) | Unity Tutorial @sasquatchbgames
Handle Scrolling UI Like a Commercial Game (Animations + AutoScrolling) | Unity Tutorial  @sasquatchbgames
Uploaded November 2023 | Updated November 2026, 3 hours ago
Show your Support & Get Exclusive Benefits on Patreon (Including Access to this project's Source Files + Code) - patreon.com/sasquatchbgames
Join our Discord Community! - discord.com/invite/aHjTSBz3jH


In this Unity tutorial I'll show you how to setup a scrollView area, and we're going to polish ALL the features so that it feels REALLY good by the time we're done.
You'll learn about Unity's handy Selectable interfaces (like ISelectHandler, IPointerEnterHandler, etc) and how to utilize these to create custom UI animations.
You'll learn how to handle MULTIPLE control schemes (even mid-UI screen)
And we'll implement some autoScrolling, and how to avoid making this functionality fight with the mouse pointer.

Link to Download our free 2D Asset Pack:
assetpack.sasquatchbstudios.com
---
In need of some Unity Assets? Using our affiliate link is a great way to support us. It's free, and we get a small cut that helps keep us up and running: https://assetstore.unity.com?aid=1100lwgBQ
---

Unity Selectable Documentation:
docs.unity3d.com/2017.4/Documentation/ScriptReference/UI.Selectable.html

Unity Free Cards on the Asset Store
assetstore.unity.com/packages/2d/gui/card-shirts-lite-165698?aid=1100lwgBQ

Extension Method to find row+column count for grid layoutr
stackoverflow.com/questions/52353898/get-column-and-row-of-count-from-gridlayoutgroup-programmatically

Link to AutoScroll Script
bitbucket.org/UnityUIExtensions/unity-ui-extensions/src/55a7d21860e4bf7954c247512767e950367c4133/Scripts/Utilities/UIScrollToSelection.cs?at=master


Contents of This Video: ------------------------------------------

00:00 - Introduction
01:16 - Setting up the Scroll View UI
03:50 - Selecting buttons with the mouse
05:48 - Adding custom animations when selecting UI
07:23 - Navigating UI with keyboard or gamepad
09:17 - Tracking our last selected button so our keyboard and gamepad always work
14:29 - Autoscrolling to a button outside the viewport
15:54 - How to fix the autoscrolling with the mouse

Who We Are-------------------------------------

If you're new to our channel, we're Brandon & Nikki from Sasquatch B Studios. We sold our house to start our game studio, and work full time on building our business and making our game, Veil of Maia.

Don't forget to Subscribe for NEW game dev videos every Monday & Thursday!

Wishlist our Games:
Wishlist Veil of Maia! - store.steampowered.com/app/1948230/Veil_of_Maia
Wishlist Samurado!
store.steampowered.com/app/2343270/Samurado


Follow us on Twitter for regular updates!
twitter.com/SasquatchBGames

#unitytutorial #unity2d #unity3d
Handle Scrolling UI Like a Commercial Game (Animations + AutoScrolling) | Unity TutorialHow to Make Games when you SUCK at ArtThe ULTIMATE 2D Platformer Controller (Part 6) - CORNER CORRECTIONThe LIES Youve Been Told About GamedevSTOP Using Textures. Use Noise Instead (Unity Tutorial)CLEAN Game Architecture with ScriptableObjects | Unity Tutorial5 Inspiring Indie Games You Need to Play (Besides Hollow Knight)The ULTIMATE 2D Platformer Controller (Part 8 - Finale) - PLATFORM SUPPORTEVERY Post-Processing effect in Unity | What you NEED to knowHandle Camera Targeting Based on Control Scheme Changes Like a COMMERCIAL GAME | Unity TutorialLets Talk Game Dev: With AIAThe BLUEPRINT For 2D Character Controller PERFECTION
Sasquatch B Studios |

Handle Scrolling UI Like a Commercial Game (Animations + AutoScrolling) | Unity Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER