lvjincheng 4 years ago
parent
commit
3cb648d144
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Assets/BowArrow/Scripts/Bluetooth/BluetoothAim.cs

+ 2 - 2
Assets/BowArrow/Scripts/Bluetooth/BluetoothAim.cs

@@ -186,7 +186,7 @@ class AimHandler
         return (float) shortNum; 
     }
 
-    o0MagneticCalibrater MagCalibrater;
+    o0MagneticCalibraterSimple MagCalibrater;
     o0GyrCalibrater GyrCalibrater;
     long msOld = 0;
     public AimHandler(
@@ -209,7 +209,7 @@ class AimHandler
             SetIdentity.onClick.AddListener(DoIdentity);
         }
         
-        MagCalibrater = new o0MagneticCalibrater();
+        MagCalibrater = new o0MagneticCalibraterSimple();
         string magDataStr = PlayerPrefs.GetString("o0MagneticCalibrater");
         if (magDataStr.Length > 0)
         {