float GetAxis(string description) float GetAxis(int descriptionHash)
description: The name of the axis, as defined in SetAxis(). descriptionHash: The hashcode of the name of the axis, as defined in SetAxis().
SetAxis()
float: A value between -1 and 1 inclusive.
-1
1
Returns the value of the axis.
Last updated 6 years ago
Was this helpful?