InputAxis

Implements IInputSetting

Declaration

[Serializable]
public struct InputAxis : IInputSetting

Description

An input axis setting.

Properties

referenceA reference to the input action that handles the input.
sensitivityThe input sensitivity multiplier.
invertedInverts the input axis value.
timescaledScales the input axis value by delta time.

Constructors

InputAxisCreates an input axis with the provided settings.

Methods

GetReferenceReturns a reference to the input action.