InputActionMap
- Namespace: Turian.Engine.Core
- Source File: InputAction.cs
A set of actions that belong together and are enabled or disabled as one — gameplay, menu, vehicle. Only an enabled map's actions follow the devices.
Properties
Name
(string) { get; set } = string.Empty: The map's name, unique inside its asset.
Enabled
(bool) { get; set } = true: Whether the map follows the devices. A disabled map's actions sit at rest.
Actions
(List[]: The actions this map holds.
Public Methods
Find
public InputAction? Find(string name)
Finds an action by name, or null when the map has none by that name.
Parameters:
name(string): The action's name, compared case-insensitively.
Returns: InputAction?