瀏覽代碼

1.隐藏config图标,
2.固定射箭倍数

slambb 8 月之前
父節點
當前提交
60c3eff587

+ 1 - 1
Assets/BowArrow/InfraredCamera/InfraredDemo.cs

@@ -105,7 +105,7 @@ public class InfraredDemo : JCUnityLib.ViewBase
         GUIStyle labelFont = new GUIStyle();
         labelFont.normal.textColor = new Color(1, 0.6f, 0.6f);
         labelFont.fontSize = Mathf.CeilToInt(Screen.height * 0.03f);
-        GUI.Label(new Rect(Screen.width / 100, Screen.height / 100, 100, 100), "game-20250122-1422-5-1", labelFont);
+        GUI.Label(new Rect(Screen.width / 100, Screen.height / 100, 100, 100), "game-20250207-1422-5-1", labelFont);
     }
 
     void Update()

+ 4 - 4
Assets/BowArrow/Resources/Textures/GameIcon/Prefabs/Views/Home/HomeView.prefab

@@ -3272,7 +3272,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 1
+  m_IsActive: 0
 --- !u!224 &7950452517524989595
 RectTransform:
   m_ObjectHideFlags: 0
@@ -12122,9 +12122,9 @@ RectTransform:
   m_Father: {fileID: 7950452517524989595}
   m_RootOrder: 1
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 0}
-  m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 0, y: 0}
+  m_AnchorMin: {x: 0, y: 1}
+  m_AnchorMax: {x: 0, y: 1}
+  m_AnchoredPosition: {x: 138.208, y: -70}
   m_SizeDelta: {x: 123, y: 123}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!222 &3282755956505999602

+ 4 - 3
Assets/BowArrow/Scripts/Game/Arrow.cs

@@ -59,12 +59,13 @@ public class Arrow : MonoBehaviour
         mySpeed = speed;
 
         Billboard.ins?.SetArrowSpeed(speed);
-        //Debug.Log("speed:"+ speed);
         if (GameAssistUI.ins && GlobalData.MyDeviceMode == DeviceMode.Archery)
         {
-            mySpeed *= GameAssistUI.ins.shootScaleValue;
-            Billboard.ins?.SetArrowSpeedScale(GameAssistUI.ins.shootScaleValue);
+            int shootScaleValue = 5; //GameAssistUI.ins.shootScaleValue
+            mySpeed *= shootScaleValue;
+            Billboard.ins?.SetArrowSpeedScale(shootScaleValue);
         }
+        Debug.Log("射箭基础速度:" + speed + ",射箭加倍后的速度:"+ mySpeed);
         Billboard.ins?.ShowSpeed();
         if (GlobalData.pkMatchType == PKMatchType.OnlinePK)
         {