InputManager.GetAxis

Method in InputManager

Declaration

public float GetAxis(InputAxis axis)

Description

Gets the input value for the specified input axis.

Parameters

axisThe input axis to read.

Returns

floatThe input value.