com.iron-mountain.input-graphics

1.0.2 • Public • Published

Input Graphics

Version: 1.0.2

Description:

A tool for depicting graphics of all types of controllers.

NO CODING REQUIRED

There are an absurd number of input methods, but this package makes it easier to use and depict many of them.

Use Cases:

  • Dynamically depict images of KeyCode inputs.
  • Graphic source files for many more input methods.

Directions for Use:

  1. Create a KeyCodeGraphics Scriptable Object, or use one of the defaults (light or dark).
  2. Add a KeyCodeImage component to a GameObject with an Image component.
  3. Connect a KeyCodeGraphics object to the KeyCodeImage's Graphics field.
  4. The KeyCodeImage will update the image's sprite according to its KeyCode field.

Package Mirrors:

Key Scripts & Components:

  1. public class KeyCodeGraphics : ScriptableObject
    • Methods:
      • public Sprite GetSprite(KeyCode keycode)
  2. public class KeyCodeImage : MonoBehaviour
    • Properties:
      • public KeyCode KeyCode { get; set; }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    3
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i com.iron-mountain.input-graphics

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

7.82 MB

Total Files

1332

Last publish

Collaborators

  • ludachrismonte