//カメラ左右反転するか private void CameraLeftRightInverted() { if (Input.GetButtonDown(InputMap.Type.BButton.GetInputName())) { cameraLeftRight.isOn = !cameraLeftRight.isOn; OptionDataPrefs.SetLeftRightInvert(cameraLeftRight.isOn); } }
void Start() { cameraUpDown.isOn = OptionDataPrefs.GetUpDownBool(false); cameraLeftRight.isOn = OptionDataPrefs.GetLeftRightBool(false); }
private void GetIsInveted() { isInverted_LeftRight = OptionDataPrefs.GetLeftRightBool(false); isInverted_UpDown = OptionDataPrefs.GetUpDownBool(false); }