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

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

36.650 Lượt nghe
How to Rebind Your Controls in Unity (With Icons!) | Input System
Show your Support & Get Exclusive Benefits on Patreon (Including Access to this project's Source Files + Code) - https://www.patreon.com/sasquatchbgames Join our Discord Community! - https://discord.com/invite/aHjTSBz3jH 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://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 --- Link to Download icons for basically ANY controller you could ever want: https://opengameart.org/content/free-keyboard-and-controllers-prompts-pack Link that goes into detail about the display options for the Rebinding system: https://docs.unity3d.com/Packages/[email protected]/api/UnityEngine.InputSystem.InputBinding.DisplayStringOptions.html 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/2343270/Samurado/ Wishlist Veil of Maia! - https://store.steampowered.com/app/1948230/Veil_of_Maia/ Don't forget to Subscribe for NEW game dev videos every Monday & Thursday! Follow us on Twitter for regular updates! https://twitter.com/SasquatchBGames #unitytutorial #unity2d #unity3d