# Input Action Name

{% hint style="success" %}

#### Like what your seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) 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](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## &#x20;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

```csharp
using HeathenEngineering.SteamworksIntegration;
```

### Definition

```csharp
public class TMProInputActionName : MonoBehaviour
```

or

```csharp
public class UGUIInputActionName : MonoBehaviour
```

## Fields and Attributes

<table><thead><tr><th width="217.91333012691814">Type</th><th>Name</th><th width="316.8664058133036">Comments</th></tr></thead><tbody><tr><td><a href="/pages/uFsL0RoN7w4IqXiAcaMB">InputActionSet</a></td><td>set</td><td><p>The set the action is a member of.</p><p>Set this value or Layer value but not both.</p></td></tr><tr><td><a href="/pages/cYbs3FbYmPQ3LL6Wspe0">InputActionSetLayer</a></td><td>layer</td><td><p>The layer the action is a member of.</p><p>Set this value or Set value but not both.</p></td></tr><tr><td><a href="/pages/9TMpvOhbLmcp545FiElP">InputAction</a></td><td>action</td><td>The action to fetch the glyph for</td></tr></tbody></table>

## Methods

### Refresh Name

```csharp
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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unity/objects/components/input-action-name.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
