com.iron-mountain.input-graphics
v1.0.2
Published
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.
Downloads
3
Readme
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:
- Create a KeyCodeGraphics Scriptable Object, or use one of the defaults (light or dark).
- Add a KeyCodeImage component to a GameObject with an Image component.
- Connect a KeyCodeGraphics object to the KeyCodeImage's Graphics field.
- The KeyCodeImage will update the image's sprite according to its KeyCode field.
Package Mirrors:
Key Scripts & Components:
- public class KeyCodeGraphics : ScriptableObject
- Methods:
- public Sprite GetSprite(KeyCode keycode)
- Methods:
- public class KeyCodeImage : MonoBehaviour
- Properties:
- public KeyCode KeyCode { get; set; }
- Properties: