InputManager.GetAxis
Method in InputManager
Declaration
public float GetAxis(InputAxis axis)
Description
Gets the input value for the specified input axis.
Parameters
axis | The input axis to read. |
Returns
float | The input value. |
public float GetAxis(InputAxis axis)
Gets the input value for the specified input axis.
axis | The input axis to read. |
float | The input value. |