IsAxisDefined
Last updated
Was this helpful?
Last updated
Was this helpful?
bool IsAxisDefined(string axisName) bool IsAxisDefined(int axisHash)
axisName: The name of the axis, as defined in . axisHash: The hashcode of the name of the axis, as defined in .
bool: Returns true
if axisName
or axisHash
exists.
Use this to determine if an axis exists by the name of axisName
or the hashcode of axisHash
.
Note that you will probably never need to use this method unless you are a developer making a separate script/plugin and you want to make it compatible with cInput.