Beispiel #1
0
 public void SetMouseSensitivity(float mouseSensitivity)
 {
     PlayerPrefs.SetFloat(MouseSensitivityPlayerPrefsKey, mouseSensitivity);
     ControlSettingsChanged?.Invoke();
 }
Beispiel #2
0
 public void SetInvertMouseXAxis(bool invert)
 {
     PlayerPrefs.SetInt(InvertMouseXAxisPlayerPrefsKey, Convert.ToInt32(invert));
     ControlSettingsChanged?.Invoke();
 }