Table of Contents

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

VariableBlock

IsPressed

True while the button is held down.

public VariableBlock IsPressed { get; }

Property Value

VariableBlock

Strength

Returns button's value while held down.

public VariableBlock Strength { get; }

Property Value

VariableBlock