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

Subscribers:
65,200
Published on ● Video Link: https://www.youtube.com/watch?v=e30i55Hp-to



Category:
Tutorial
Duration: 9:43
3,841 views
131


Join our Discord Community! - https://discord.com/invite/aHjTSBz3jH
Show your Support & Get Exclusive Benefits on Patreon (Including Access to this project's Source Files + Code) - https://www.patreon.com/sasquatchbgames
Wishlist Veil of Maia! - https://store.steampowered.com/app/1948230/Veil_of_Maia/


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 2D Asset Pack seen in this tutorial:
https://veilofmaia.com/tutorial-asset-pack/


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.

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

Want to be FIRST in line when the Free Demo is released?
Sign up for email updates and first access to the demo @ https://veilofmaia.com/

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

***Purchase Links***
For those that would like to support the channel, please consider using the affiliate links below should you purchase a recommended product. We really appreciate it!

Equipment: We've been asked what we use, so here it is:

Microphone: Blue Yeti
Purchase in Canada: https://amzn.to/3WUXcWO
Purchase in USA: https://amzn.to/3Tke468

RGB Lights:
Purchase in Canada: https://amzn.to/3tflrkR
Purchase in USA: https://amzn.to/3g0Ci7L

Keylight: (Note: We use 2 of these for our lighting setup)
Purchase in Canada: https://amzn.to/3UINapv
Purchase in USA: https://amzn.to/3hq7sWx

#unitytutorial #unity2d #unity3d




Other Videos By Sasquatch B Studios


2023-05-18A Better Way to Code Your Characters in Unity | Finite State Machine | Tutorial
2023-05-15Don't Let Code Control You: Programming Skills are NOT the Most Important Skill You Need
2023-05-11Can We Make a Game in 90 Days? | Devlog
2023-05-08The Hardest Art Form in the World: How to Design a Video Game
2023-05-04Unity Object Pooling Made Easy: Learn to Manage Spawns Like a Pro | Unity Tutorial
2023-05-01Why I'm not switching to Unreal Engine | Unity vs Unreal
2023-04-27Unity Pause Tutorial: Best Practices to Pause Your Game the Right Way
2023-04-24Game Dev Nightmare: How to Avoid Losing Your Mind and Your Joy
2023-04-20How to Rebind Your Controls in Unity (With Icons!) | Input System
2023-04-17The Future of Creativity - Indie Game Dev
2023-04-13How to Control Your Menu with Keyboard/Gamepad | Unity Tutorial
2023-04-10Why Are So Many Sh** Games Made in the Unity Game Engine?
2023-04-06Layer Specific Blur... in 2D!! | Unity Tutorial
2023-04-03These 5 Things Will DESTROY Your Indie Game
2023-03-30Shockwave in Unity - How to make a shockWave Shader (2D Renderer | Unity Tutorial)
2023-03-27This Secret Hack Will Reduce the Stress it Takes to Make Your Game
2023-03-23Create Parallax Fog and Dust Particles | Unity Tutorial
2023-03-20How to Keep Going When You Feel Like You're Failing at Everything | Indie Game Dev
2023-03-16Create an ANIMATED Aim Line | Unity Tutorial
2023-03-13Difficult Decisions to be Made... More Harsh truths and Honesty | Indie Game Dev
2023-03-09How to Make a Camera System (Like Hollow Knight's) in Unity using Cinemachine | 2D Tutorial



Tags:
unity
unity2d
tutorial
unity tutorial
sasquatch b
sasquatch b studios
unity beginner tutorial
unity input system
unity setting up a menu
unity UI
unity settings menu
unity main menu
unity menu naviagation
unity control your menu with a keyboard
unity control your menu with a gamepad
unity navigate in menu with controller
unity navigate in menu with keyboard
unity navigate in menu
unity navigate in menu with gamepad
unity menu manager