Want to adjust mouse sensitivity in Top Down game, C#

Hey Unity Community,

I’m developing a Top Down Rogue-like shooter, and want to create a controls menu where the user can adjust the mouse sensitivity up or down, both for in menu as well as ingame. A feature to toggle smooth mouse would be amazing as well to have in it.
To control the sensitivity I want to have a slider, as well as have the functionality to save the current mouse sensitivity to a .ini.

Any and all help is appreciated!
Crixu

transform.Rotate(direction * Time.deltaTime * sensitivity);
Goodluck.

1 Like