コード例 #1
0
ファイル: OptionUI.cs プロジェクト: gowest2323/H30Kouki26Team
 //カメラ左右反転するか
 private void CameraLeftRightInverted()
 {
     if (Input.GetButtonDown(InputMap.Type.BButton.GetInputName()))
     {
         cameraLeftRight.isOn = !cameraLeftRight.isOn;
         OptionDataPrefs.SetLeftRightInvert(cameraLeftRight.isOn);
     }
 }
コード例 #2
0
ファイル: OptionUI.cs プロジェクト: gowest2323/H30Kouki26Team
 void Start()
 {
     cameraUpDown.isOn    = OptionDataPrefs.GetUpDownBool(false);
     cameraLeftRight.isOn = OptionDataPrefs.GetLeftRightBool(false);
 }
コード例 #3
0
 private void GetIsInveted()
 {
     isInverted_LeftRight = OptionDataPrefs.GetLeftRightBool(false);
     isInverted_UpDown    = OptionDataPrefs.GetUpDownBool(false);
 }