- Home /
Question by
Nedcallescarlett · Jun 12, 2017 at 08:46 AM ·
c#floatmouselookfps controllerdropdown
MouseLook FPS Sensitivty (DropDown)
Hello! I need help. In my options scene, I want there to be a drop down, that goes from 1-10, (2 of them, one for x, one for y). I'm using the FPS Controller script using the MouseLook script. I have no idea how do do any of this :(. I just want to access:
public float XSensitivity = 2;
public float YSensitivity = 2;
(on the mouse look script) with the drop down making the defult 2, and making it so you can change them each from 1 through 10. (also making it save the players choice with player prefs and load it again). Thank you.
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
sensitivity slider/ drop down help 0 Answers
Get a float from a different GameObject? (MouseLook) 1 Answer
How to use PlayerPrefs to save to floats (Sensitivity Help) 0 Answers