How to Control Your Menu with Keyboard/Gamepad | Unity Tutorial

Описание к видео How to Control Your Menu with Keyboard/Gamepad | 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  

If you've ever made a menu in your game, you'll know that as soon as you implement gamepad controls things don't work quite as easily as they do with the mouse. This video will help you with that!

In this easy Unity tutorial, I'll show you how to:
- Setup Controls with the Input system (cause using the old Inputs... is gross)
- Setup a handy Input Manager to detect Input with multiple control schemes.
- Create 2 simple menus we can swap between.
- How to set which button is selected first by default when you open a menu (which is the secret sauce to actually setting up gamepad/keyboard navigation in your menu.)
- How to explicitly control button/UI element navigation in your menu


Link to Download the FREE 2D Asset Pack seen in this tutorial:
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
---

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

00:00 - Intro
00:17 - Setting Up a Menu with Buttons
02:37 - Setup Input System Keyboard + Gamepad Controls
03:28 - Creating an InputManager to Detect Input with Code
04:10 - Creating a MenuManager to handle Menu Button Actions and Pausing the Game
05:51 - How to Add an Event to a UI Button
07:08 - How to Add Keyboard and Gamepad navigation to your menu
08:23 - How to change menu navigation controls
08:40 - How to change button navigation options (press left to go to THIS button)

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.

Wishlist our Games:
Wishlist Samurado on Steam! - https://store.steampowered.com/app/23...
Wishlist Veil of Maia! - https://store.steampowered.com/app/19...

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

Follow us on Twitter for regular updates!
  / sasquatchbgames  


#unitytutorial #unity2d #unity3d

Комментарии

Информация по комментариям в разработке