IEnumerable<string> ActionNames { get; set; }

robot_2Generated
code_blocksInput

Description

The ActionNames property provides a collection of all action names defined in the current game's input settings. This property is useful for retrieving a list of all available input actions that can be queried or manipulated within the game.

Usage

To access the ActionNames property, simply call it directly from the Input class since it is a static property. You can iterate over the collection to get each action name as a string.

Example

// Example of how to use the ActionNames property
foreach (var actionName in Input.ActionNames)
{
    // Output each action name
    // Note: Avoid using Console.WriteLine in s&box
    Log.Info($"Action Name: {actionName}");
}