Skip to content

Releases: Tirtstan/Input-Hints

v2.0.0

19 Apr 21:29

Choose a tag to compare

Added

  • Hint mapsHintMapSO assets map Input System control paths (e.g. buttonSouth, space) to sprites and optional TextMeshPro sprite assets.
  • Central resolutionHintManager registers IHintProvider implementations in order and resolves sprites and TMP names with parent-path fallback via InputLayoutPathUtility.
  • Provider initializers
    • GamepadHintProviderInitializer — subtype maps for Xbox, PlayStation, Switch Pro, Steam Deck, and Steam Controller, plus a fallback map.
    • KeyboardHintProviderInitializer, MouseHintProviderInitializer, TouchscreenHintProviderInitializer, JoystickHintProviderInitializer — generic HintProviderInitializer<T> wrappers for other device types.
  • Display componentsHintImage (UI), HintSpriteRenderer (world space), and HintComposite (multi-binding composites with pooled HintImage children). All extend HintDisplay (PlayerInput, action name, binding index, polling).
  • TextMeshProHintTMPText swaps the active TMP_SpriteAsset for the current device and can replace <action=ActionName> placeholders in text with resolved sprite tags.
  • Editor — inspectors for HintImage and HintTMPText, and a custom editor for HintMapSO.

Full Changelog: https://github.com/Tirtstan/Input-Hints/commits/v2.0.0