Input Action Glyph

Like what your seeing?

Consider supporting us as a GitHub Sponsor and get instant access to all our Unity 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!

Introduction

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.

Namespace

using HeathenEngineering.SteamworksIntegration;

Definition

public class InputActionGlyph : MonoBehaviour

Fields and Attributes

Type
Name
Comments
set
The set the action is a member of.
Set this value or Layer value but not both.
layer
The layer the action is a member of.
Set this value or Set value but not both.
action
The action to fetch the glyph for

Methods

Refresh Image

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.