Struct InputButtonBuilder
- Namespace
- LunyScript
- Assembly
- LunyScript.dll
Provides condition and value accessors for a named button input action.
public readonly struct InputButtonBuilder
Properties
IsJustPressed
True only on the frame the button was pressed (transition).
public VariableBlock IsJustPressed { get; }
Property Value
IsPressed
True while the button is held down.
public VariableBlock IsPressed { get; }
Property Value
Strength
Returns button's value while held down.
public VariableBlock Strength { get; }