Skip to content

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.

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

am1goo/Rewired.UI.Hotkeys

Repository files navigation

Rewired.UI.Hotkeys

logo

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

unity_hotkeys_example

How to use

  • create controller profiles for each device what you need via context menu Create->Rewired->Controller Profile

profile_keyboard_before

profile_keyboard_after

  • create Rewired Hotkeys Manager via top menu Window->Rewired->Create->Hotkeys Manager (in scene) or Window->Rewired->Create->Hotkeys Manager (prefab)

menu_create_hotkeys_manager

  • add RewiredHotkey component into your UI and select specific action what you want to bind

ui_rewired_hotkey_component

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

Requirements

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.

About

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.

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Languages