Awesome
Rewired.UI.Hotkeys
<img src="Readme/logo.png" alt="logo" width=500 height=auto/> A plugin for Guavaman's Rewired Unity Asset that provides an easy-to-use API for showing controller hotkeys to the player at runtime based on their bindings and input method.Features
- full supports for Rewired's glyphs in UI
- binded to Rewired's actions (you don't miss any of actions)
- fast integration of keyboard, mouse and gamepads glyphs
- batch import for sprites into controller profile
- able to switch to another controller in realtime <img src="Readme/unity_hotkeys_example.gif" alt="unity_hotkeys_example" width=400 height=auto/>
How to use
- create controller profiles for each device what you need via context menu
Create->Rewired->Controller Profile
<img src="Readme/profile_keyboard_before.png" alt="profile_keyboard_before" width=400 height=auto/>
-
create
<img src="Readme/menu_create_hotkeys_manager.png" alt="menu_create_hotkeys_manager" width=800 height=auto/>Rewired Hotkeys Manager
via top menuWindow->Rewired->Create->Hotkeys Manager (in scene)
orWindow->Rewired->Create->Hotkeys Manager (prefab)
-
add
<img src="Readme/ui_rewired_hotkey_component.png" alt="ui_rewired_hotkey_component" width=800 height=auto/>RewiredHotkey
component into your UI and select specific action what you want to bind
Installation
via Unity Package Manager
The latest version can be installed via package manager using following git URL:
https://github.com/am1goo/Rewired.UI.Hotkeys.git#1.0.1
Requirements
- Unity Engine 2019.x or higher
- Rewired Advanced Input System
Tested in
- Unity 2019.4.x
- Unity 2020.3.x with
- Rewired Advanced Input System 1.1.39.2 (U2019)
- Rewired Advanced Input System 1.1.51.1 (U2022)
Using in
Sin Slayers - RPG with roguelike elements set in a dark fantasy world, where your choices determine how challenging the fights and enemies will be.
Contribute
Contribution in any form is very welcome. Bugs, feature requests or feedback can be reported in form of Issues.