Handle Scrolling UI Like a Commercial Game (Animations + AutoScrolling) | Unity Tutorial
Show your Support & Get Exclusive Benefits on Patreon (Including Access to this project's Source Files + Code) - / sasquatchbgames
Join our Discord Community! - / discord
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:
https://veilofmaia.com/tutorial-asset...
---
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:
https://docs.unity3d.com/2017.4/Docum...
Unity Free Cards on the Asset Store
https://assetstore.unity.com/packages...
Extension Method to find row+column count for grid layoutr
https://stackoverflow.com/questions/5...
Link to AutoScroll Script
https://bitbucket.org/UnityUIExtensio...
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! - https://store.steampowered.com/app/19...
Wishlist Samurado!
https://store.steampowered.com/app/23...
Follow us on Twitter for regular updates!
/ sasquatchbgames
#unitytutorial #unity2d #unity3d