Class InputAction
Represents an input action that can be triggered by key combinations
public record InputAction : IEquatable<InputAction>
- Inheritance
-
InputAction
- Implements
- Inherited Members
Constructors
InputAction(string, string, int)
Represents an input action that can be triggered by key combinations
public InputAction(string Name, string Description = "", int Priority = 0)
Parameters
Properties
Description
public string Description { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
Priority
public int Priority { get; init; }
Property Value
Methods
Contextual(string, string)
Creates a contextual input action with normal priority
public static InputAction Contextual(string name, string description = "")
Parameters
Returns
Global(string, string)
Creates a global input action with high priority
public static InputAction Global(string name, string description = "")