[Unity] Combining the Input System and Localization to show dynamic custom bindings

[Unity] Combining the Input System and Localization to show dynamic custom bindings

Channel:
Subscribers:
527
Published on ● Video Link: https://www.youtube.com/watch?v=K16rk7SANKU



Category:
Show
Duration: 21:07
750 views
12


In this video I go through a script I wrote to marry Unity's new Input System with the in-development Localization system in order to show custom key bindings in Localized Text.

By automatically grabbing the input bindings and putting them into a Global Variables Asset, you can insert them into any localized text. It also does a look up on a TextMeshPro Sprite Asset to find matching glyphs for custom button prompts.

Tip: https://ko-fi.com/bigthedave

Games: http://geeitsomelaldy.itch.io

Twitter Comment Thread: https://twitter.com/GeeItSomeLaldy/status/1400820038316314624

You can find the source code here: https://pastebin.com/u/GeeItSomeLaldy/1/gzxhYmes

You can find a unitypackage here: http://clydebuiltgames.com/UnityScripts/LocalizedInputGlobals.zip