Class InputAction
A named input value with current and frame-transition state.
public sealed class InputAction
- Inheritance
-
InputAction
- Inherited Members
Constructors
InputAction(string, Func<Vector2>)
A named input value with current and frame-transition state.
public InputAction(string name, Func<Vector2> read)
Parameters
Properties
IsPressed
public bool IsPressed { get; }
Property Value
Name
public string Name { get; }
Property Value
Scalar
public float Scalar { get; }
Property Value
Value
public Vector2 Value { get; }
Property Value
WasPressedThisFrame
public bool WasPressedThisFrame { get; }
Property Value
WasReleasedThisFrame
public bool WasReleasedThisFrame { get; }