How to Rebind Your Controls in Unity (With Icons!) | Input System

Sasquatch B Studios
Sasquatch B Studios
20.1 هزار بار بازدید - پارسال - Show your Support & Get
Show your Support & Get Exclusive Benefits on Patreon (Including Access to this project's Source Files + Code) - Patreon: sasquatchbgames
Join our Discord Community! - Discord: discord

By the end of this Unity Tutorial, you'll know how to setup controls with the new Input System, create an Input Manager for them, and have a fully working key-rebinding system that works for any device, and has an easy option to use Text OR icons for your re-binding UI.

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
---

Link to Download icons for basically ANY controller you could ever want:
https://opengameart.org/content/free-...

Link that goes into detail about the display options for the Rebinding system:
https://docs.unity3d.com/Packages/com...


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

00:00 - Intro
00:20 - Setting up Controls and Detecting Input
04:57 - Setting up the Rebinding UI
08:00 - Getting our First Re-binding to work
08:38 - Option to Cancel out of re-binding/Exclude Certain Controls
09:50 - Adding a function to ignore re-bind duplicates
12:54 - Adding the Option to Name our Action in the UI
15:29 - How to Display Icons instead of Text
17:19 - Reset bindings for a specific control scheme
19:01 - Keep Re-bindings persistent

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!
Twitter: SasquatchBGames

#unitytutorial #unity2d #unity3d
پارسال در تاریخ 1402/01/31 منتشر شده است.
20,146 بـار بازدید شده
... بیشتر