Class ButtonInputControl
Inherited Members
Namespace: UnityEngine.InputNew
Syntax
public class ButtonInputControl : InputControl
Constructors
ButtonInputControl(Int32, InputState)
Declaration
public ButtonInputControl(int index, InputState state)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | |
| InputState | state |
Properties
isHeld
Declaration
public bool isHeld { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
wasJustPressed
Declaration
public bool wasJustPressed { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
wasJustReleased
Declaration
public bool wasJustReleased { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Methods
SetValueMultiplier(Single)
Declaration
public void SetValueMultiplier(float multiplier)
Parameters
| Type | Name | Description |
|---|---|---|
| Single | multiplier |