Browse Source

1.修改图标翻译

slambb 9 months ago
parent
commit
28eb02997f

BIN
Assets/Game_Hyperspace/NewGameUI/1_slices_e/0.png


BIN
Assets/Game_Hyperspace/NewGameUI/1_slices_e/1.png


BIN
Assets/Game_Hyperspace/NewGameUI/1_slices_e/2.png


BIN
Assets/Game_Hyperspace/NewGameUI/1_slices_e/3.png


BIN
Assets/Game_Hyperspace/NewGameUI/1_slices_e/4.png


BIN
Assets/Game_Hyperspace/NewGameUI/1_slices_e/5.png


BIN
Assets/Game_Hyperspace/NewGameUI/1_slices_e/6.png


BIN
Assets/Game_Hyperspace/NewGameUI/1_slices_e/7.png


BIN
Assets/Game_Hyperspace/NewGameUI/1_slices_e/8.png


BIN
Assets/Game_Hyperspace/NewGameUI/1_slices_e/9.png


+ 4 - 4
Assets/Game_Hyperspace/Resources/game over.prefab

@@ -585,14 +585,14 @@ RectTransform:
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 0.6, y: 0.6, z: 1}
-  m_ConstrainProportionsScale: 0
+  m_ConstrainProportionsScale: 1
   m_Children: []
   m_Father: {fileID: 2736556117064423623}
   m_RootOrder: 0
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0.5, y: 0.5}
   m_AnchorMax: {x: 0.5, y: 0.5}
-  m_AnchoredPosition: {x: -136.7, y: 48.3}
+  m_AnchoredPosition: {x: -144, y: 21}
   m_SizeDelta: {x: 168, y: 256}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!222 &2736556116693654896
@@ -623,7 +623,7 @@ MonoBehaviour:
   m_OnCullStateChanged:
     m_PersistentCalls:
       m_Calls: []
-  m_Sprite: {fileID: 21300000, guid: c74727cf2eb4349438fea562043687b8, type: 3}
+  m_Sprite: {fileID: 21300000, guid: fc27c13f54dec2649bb2d720cbeb659d, type: 3}
   m_Type: 0
   m_PreserveAspect: 0
   m_FillCenter: 1
@@ -2721,7 +2721,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 1}
   m_AnchorMax: {x: 0, y: 1}
-  m_AnchoredPosition: {x: 134.5, y: -16.335}
+  m_AnchoredPosition: {x: 253.8, y: -16.335}
   m_SizeDelta: {x: 134.5, y: 26.19}
   m_Pivot: {x: 1, y: 0.5}
 --- !u!222 &4642394356851419281

+ 13 - 2
Assets/Game_Hyperspace/Script/GeneratingTarget.cs

@@ -353,7 +353,7 @@ public class GeneratingTarget : MonoBehaviour
         shootingEvent.OnShooting();
     }
 
-
+   // int tempScore = 0;
     private void Update()
     {
         //if (reloadTime > 0)
@@ -376,7 +376,13 @@ public class GeneratingTarget : MonoBehaviour
         {
             UIManager._ins.Reload();
         }
-        #endif
+        //if (Input.GetKeyDown(KeyCode.T))
+        //{
+        //    GameOverGrade(tempScore);
+
+        //    tempScore += 10;
+        //}
+#endif
 
         if (isbegin)
         {
@@ -577,6 +583,11 @@ public class GeneratingTarget : MonoBehaviour
         var index = Mathf.CeilToInt(percent / 10) - 1;
         if (index < 0) index = 0;
         grade.sprite = TextAutoLanguage2.GetLanguage() == LanguageEnum.Chinese ? ScoreLevel[index]: EnScoreLevel[index];
+        grade.SetNativeSize();
+        RectTransform rectTransform = grade.GetComponent<RectTransform>();
+        rectTransform.anchoredPosition = TextAutoLanguage2.GetLanguage() == LanguageEnum.Chinese ? new Vector3(-144, 30, 1) : new Vector3(-144, 21, 1);
+        rectTransform.localScale = TextAutoLanguage2.GetLanguage() == LanguageEnum.Chinese ? new Vector3(0.6f, 0.6f, 1) : new Vector3(0.25f, 0.25f, 1);
+        //
     }
 
     public void Restart(int index)