Input Action Glyph
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!
The Input action glyph simplifies display of a simple single input image for a given action. This tool sets the first glyph image mapped to this action to the attached RawImage texture.
public class InputActionGlyph : MonoBehaviour
The set the action is a member of.
Set this value or Layer value but not both.
The layer the action is a member of.
Set this value or Set value but not both.
The action to fetch the glyph for
public void RefreshImage();
Refreshes the image mapped to this action. This is automatically called on Start and OnEnable but can be manually refreshed as needed.