Bläddra i källkod

调整提示板

lvjincheng 4 år sedan
förälder
incheckning
118d109dcf

+ 8 - 8
Assets/BowArrow/Scenes/Game.unity

@@ -7636,7 +7636,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 29.591835, y: 0}
+  m_AnchoredPosition: {x: 29.291866, y: 0}
   m_SizeDelta: {x: 0, y: 33}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &589339043
@@ -9603,7 +9603,7 @@ RectTransform:
   m_GameObject: {fileID: 687712902}
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: -0.1}
-  m_LocalScale: {x: 0.1, y: 0.1, z: 1}
+  m_LocalScale: {x: 0.08, y: 0.1, z: 1}
   m_Children: []
   m_Father: {fileID: 317472496}
   m_RootOrder: 1
@@ -9859,7 +9859,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 29.591835, y: 0}
+  m_AnchoredPosition: {x: 29.291866, y: 0}
   m_SizeDelta: {x: 0, y: 33}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &694545845
@@ -11094,7 +11094,7 @@ Transform:
   m_GameObject: {fileID: 784883312}
   m_LocalRotation: {x: -0, y: 0.7070444, z: -0, w: 0.70716923}
   m_LocalPosition: {x: 27.580008, y: -0.07999992, z: -0.030000687}
-  m_LocalScale: {x: 0.13810998, y: 0.13811, z: 0.13810998}
+  m_LocalScale: {x: 0.18, y: 0.13811, z: 0.13810998}
   m_Children:
   - {fileID: 456606909}
   - {fileID: 1283797918}
@@ -15606,7 +15606,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 29.591835, y: 0}
+  m_AnchoredPosition: {x: 29.291866, y: 0}
   m_SizeDelta: {x: 0, y: 33}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &1218454288
@@ -17586,7 +17586,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 49.18367, y: 0}
+  m_AnchoredPosition: {x: 48.583733, y: 0}
   m_SizeDelta: {x: 0, y: 33}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &1338115114
@@ -25649,7 +25649,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 79.18367, y: 0}
+  m_AnchoredPosition: {x: 78.58373, y: 0}
   m_SizeDelta: {x: 0, y: 40}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &1845023679
@@ -26089,7 +26089,7 @@ RectTransform:
   m_GameObject: {fileID: 1869291961}
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: -0.1}
-  m_LocalScale: {x: 0.1, y: 0.1, z: 1}
+  m_LocalScale: {x: 0.08, y: 0.1, z: 1}
   m_Children: []
   m_Father: {fileID: 317472496}
   m_RootOrder: 0

+ 1 - 1
Assets/BowArrow/Scripts/Effect/HitTargetNumber.cs

@@ -35,7 +35,7 @@ public class HitTargetNumber : MonoBehaviour
             Quaternion.identity,
             GameObject.Find("Canvas").transform
         );
-        o.transform.localPosition = new Vector3(320, 180, 0);
+        o.transform.localPosition = new Vector3(340, 180, 0);
         o.GetComponentInChildren<Text>().text = number.ToString();
     }
 }

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

@@ -17,7 +17,7 @@ public class Billboard : MonoBehaviour
     public static void ShowSpeed(float speed) {
         //转km/h
         speed = speed * 3600f / 1000f;
-        speed = (float)System.Math.Round((double)speed, 0);
+        speed = (float)System.Math.Round((double)speed, 1);
         if (ins && ins.speedText) {
             ins.speedText.text = speed.ToString();
         }