private void Start() { inputType = (CameraMovement.InputType)PlayerPrefs.GetInt("InputType", 0); }
public void SetInputType(CameraMovement.InputType _inputType) { inputType = _inputType; PlayerPrefs.SetInt("InputType", (int)inputType); }