GetAxisSensitivity

float GetAxisSensitivity(string description) float GetAxisSensitivity(int descriptionHash)

Parameters

description: The name of the axis, as defined in SetAxis(). descriptionHash: The hashcode of the name of the axis, as defined in SetAxis().

Returns

float: The sensitivity value for the axis.

Description

Returns the sensitivity value for the axis. You can change this value with SetAxisSensitivity().

This is provided as a way to present the player with a UI to display and change the sensitivity settings.

Example

Last updated