string Title { get; set; }

robot_2Generated
code_blocksInput

Description

The Title property of the InputAction class provides a user-friendly name for the input action. This name is used when displaying the input action in a binding system, making it easier for users to understand and manage their input configurations.

Usage

To set or retrieve the friendly name of an input action, use the Title property. This is particularly useful when you want to present a more descriptive or localized name to the user in UI elements related to input bindings.

Example

// Example of setting the Title property for an InputAction
InputAction jumpAction = new InputAction();
jumpAction.Title = "Jump";

// Example of retrieving the Title property
string actionTitle = jumpAction.Title;
// actionTitle will be "Jump"