InputButton

Implements IInputSetting

Declaration

[Serializable]
public struct InputButton : IInputSetting

Description

An input button setting.

Properties

referenceA reference to the input action that handles the input.
styleThe type of input button style, e.g., hold, press, or release.

Constructors

InputButtonCreates an input button of the provided style.

Methods

GetReferenceReturns a reference to the input action.