Jelajahi Sumber

调试输出-修改

lvjincheng 4 tahun lalu
induk
melakukan
ced855c3d1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Assets/BowArrow/Scripts/Game/ArmBow.cs

+ 1 - 1
Assets/BowArrow/Scripts/Game/ArmBow.cs

@@ -145,7 +145,7 @@ public class ArmBow : MonoBehaviour
                         //显示射出角度
                         Quaternion first_rotation = recordRotations[i - single_check_count + 1];
                         ShootCheck.ins.shootAngleText.text = 
-                            "最佳角度:" + first_rotation + "\n" +
+                            "最佳角度:" + first_rotation.eulerAngles + "\n" +
                             "延迟角度:" + best_rotation.eulerAngles + "\n" +
                             "角度偏差:" + Quaternion.Angle(first_rotation, best_rotation);
                     }