|
|
@@ -33,7 +33,8 @@ public class CameraToLook : MonoBehaviour
|
|
|
Quaternion normalQuat = Quaternion.LookRotation(normalVector);
|
|
|
try
|
|
|
{
|
|
|
- onParseRotation?.Invoke(normalQuat);
|
|
|
+ if (BluetoothAim.ins.status == BluetoothStatusEnum.ConnectSuccess)
|
|
|
+ onParseRotation?.Invoke(normalQuat);
|
|
|
}
|
|
|
catch (System.Exception e)
|
|
|
{
|