• Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Current Version: 3.1.23: 2024-05-02T11:28:20Z
  • First Published: 2022-03-05T15:32:13Z
  • Size: 21176176
  • Supported Unity Versions: 2020.3.23
tools gui

Input Icons for Input System

(15 Votes)
$29.93 $29.93

New since v3.1.20: This asset now also requires the "2D Sprite" package (available through the Unity Package manager under Unity Registry)


Contact | Forum


Keyboard and Gamepad Sprites Vol1 also contains the graphics of this asset.

UI Toolkit support: use the free Input Icons - UI Toolkit Extension


The easiest way to display dynamic button prompts in your games!


Bindings of Input Action Assets (new Input System) can be displayed as sprites in Sprite Renderers,UI Images and TextMeshPro texts, or as a special SDF font with characters for all keys/buttons in TMPro texts.


Keyboard (QWERTY, QWERTZ and AZERTY with fallback to QWERTY) and Controllers (XBox, PS3, PS4, PS5, NSwitchPro) are supported and displayed sprites can automatically update when the user switches devices.


Rebinding prefabs provide players with the option to rebind their keys/buttons.


Features:

  • Easily display bindings in
    • Sprite Renderers and UI Images
    • TextMeshPro texts as sprites along with other text
    • TextMeshPro texts as an SDF font
  • Full control over which binding to display by selecting the control scheme, composite type (composite, non-composite), binding type (Up, Down, Left, Right, Forward, Backward), and index of available bindings matching the chosen settings. Options are seperate for keyboard and gamepad in advanced prompt mode.
  • Automatically updates displayed icons when the user switches devices
  • Local Multiplayer Games are supported (some coding might be required to assign devices, helper methods and examples available)
    • Multiple users on one device
    • Each user with a seperate device
  • Rebind prefabs allow players to rebind and save/load the overrides (single bindings and Up/Down/Left/Right +/Forward/Backward composites)
  • Supports keyboard and gamepad inputs, including Steam Input
  • 1200+ sprites: 5 keyboard and 2 gamepad sprite sets per controller type (XBox, PS3, PS4, PS5 and NSwitchPro) included. Size per sprite: 256x256px

Setup: The setup is short and can be done with a few clicks through the custom setup window in Tools -> Input Icons -> Input Icons Setup.


Usage

  • Use the II_SpritePrompt, II_ImagePrompt or II_TextPrompt components to display the action/binding you want by dragging the action into the inspector and adjusting the display settings.
    • The II_TextPrompt component replaces instances of <inputaction> with sprites in TMPro texts. (The tag <inputaction> can be customized)
  • In TMPro components, type in <style=actionmap/action> to display bindings without the need for additional components (display options are limited using this method)

Rebinding: The included rebinding prefabs allow players to rebind their keys/buttons. Rebound actions can be automatically saved between sessions. The prefabs are customizable and support rebinding for either keys/mouse, gamepad, or the currently used device.


Customization: The displayed sprites are stored in Scriptable Objects, allowing for easy customization by changing the data and creating a new Sprite Asset with the click of a button.

Additionally the manager Scriptable Object provides many options for customization like preferred start device, gamepad priority and much more.


Input Icons supports keyboards (QWERTY, QWERTZ, AZERTY, fallback to QWERTY) and gamepads (XBox, PS3, PS4, PS5, Nintendo Pro, fallback to XBox by default).


1200+ PNGs are included for keys, mouse, and gamepad buttons, with special characters falling back to the QWERTY layout.


Documentation: A 24+ pages guide, explaining the setup process and the usage of the tool in detail is available in the main folder of the asset.



Displayed icons in text use the TMP sprite tag and are therefore compatible with other text manipulating assets like Text Animator


Add to cart
This site contains affiliate links, which means that we can receive a commission if you click on a link and buy something that we have recommended.
Although clicking on these links will not cost you anything, they will help us finance our development projects while recommending good products!