Input Action Name

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 name simplifies display of a simple single input string for a given action. This tool sets the first string name mapped to this action to the attached label.
This object has a TMPro and UGUI variant.

Namespace

using HeathenEngineering.SteamworksIntegration;

Definition

public class TMProInputActionName : MonoBehaviour
or
public class UGUIInputActionName : 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 Name

public void RefreshName();
Refreshes the name mapped to this action. This is automatically called on Start and OnEnable but can be manually refreshed as needed.