float GetAxis(string description)
float GetAxis(int descriptionHash)
Parameters
description: The name of the axis, as defined in .
descriptionHash: The hashcode of the name of the axis, as defined in .
Returns
float: A value between -1
and 1
inclusive.
Description
Returns the value of the axis.
Example