- Home /
 
 
               Question by 
               CliffracerX · Jul 31, 2014 at 01:28 AM · 
                inputoptionslauncher  
              
 
              Mouse sensitivity in the options menu
I noticed that the sensitivity of the controls in my game is a tad high (makes my friends who are testing smash into walls because the mouse sensitivity is too high), and I was wondering if it was possible to have the sensitivity in the "Input" menu on the launcher.
In the Project settings -> Input editor, I see Mouse X and Mouse Y have a sensitivity option, so would it be possible to add that to the launcher so players can fine-tune the sensitivity to match what they're used to?
               Comment
              
 
               
              The unity Input$$anonymous$$anager is not exposed to scripting so you cant change the sensitivity value in input manager through scripting.Ins$$anonymous$$d you can use something like this.
 //The sensitivity value
 float sensitivity=1.0f;
 
 void Update()
 {
   //Get the mouse X value
   $$anonymous$$ouseXValue = Input.GetAxis("$$anonymous$$ouse X") * sensitivity;
   
   //Get the mouse Y value
   $$anonymous$$ouseYValue = Input.GetAxis("$$anonymous$$ouse Y") * sensitivity;
 }
 
                 Your answer