Class InputHelpers
Namespace: Global Namespace
Syntax
public static class InputHelpers
Methods
IsPressed(InputDevice, InputHelpers.Button, out Boolean, Single)
Declaration
public static bool IsPressed(this InputDevice device, InputHelpers.Button button, out bool isPressed, float pressThreshold = -1F)
Parameters
| Type | Name | Description |
|---|---|---|
| InputDevice | device | |
| InputHelpers.Button | button | |
| Boolean | isPressed | |
| Single | pressThreshold |
Returns
| Type | Description |
|---|---|
| Boolean |