Enum DiscreteButtonControl.WriteMode
How WriteValueIntoState(Single, Void*) should behave.
Namespace: UnityEngine.InputSystem.Controls
Syntax
public enum WriteMode
Fields
Name | Description | Value |
---|---|---|
WriteDisabled | WriteValueIntoState(Single, Void*) will throw |
0 |
WriteNullAndMaxValue | Write nullValue for when the button is considered not pressed and write maxValue for when the button is considered pressed. |
1 |