Explorar o código

修改跳转,添加又给解锁

lzx hai 2 días
pai
achega
8e23b7bca9

+ 31 - 17
Assets/Res/UI/AppBarPanel/AppBarPanel.prefab

@@ -814,10 +814,10 @@ RectTransform:
   - {fileID: 5311892624620694022}
   m_Father: {fileID: 2303318506788104112}
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 1}
-  m_AnchorMax: {x: 0, y: 1}
-  m_AnchoredPosition: {x: 288.34, y: 0}
-  m_SizeDelta: {x: 125, y: 158}
+  m_AnchorMin: {x: 0, y: 0}
+  m_AnchorMax: {x: 0, y: 0}
+  m_AnchoredPosition: {x: 0, y: 0}
+  m_SizeDelta: {x: 0, y: 0}
   m_Pivot: {x: 0, y: 1}
 --- !u!222 &7087839982332542890
 CanvasRenderer:
@@ -1154,6 +1154,7 @@ GameObject:
   - component: {fileID: 1258759336515325394}
   - component: {fileID: 7879894409154544967}
   - component: {fileID: 7205968862851183247}
+  - component: {fileID: 9804123745255819}
   m_Layer: 0
   m_HasEditorInfo: 1
   m_Name: Btn_Tower
@@ -1178,10 +1179,10 @@ RectTransform:
   - {fileID: 8767125433406234508}
   m_Father: {fileID: 2303318506788104112}
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 1}
-  m_AnchorMax: {x: 0, y: 1}
+  m_AnchorMin: {x: 0, y: 0}
+  m_AnchorMax: {x: 0, y: 0}
   m_AnchoredPosition: {x: 0, y: 0}
-  m_SizeDelta: {x: 125, y: 158}
+  m_SizeDelta: {x: 0, y: 0}
   m_Pivot: {x: 0, y: 1}
 --- !u!222 &1258759336515325394
 CanvasRenderer:
@@ -1278,6 +1279,19 @@ MonoBehaviour:
   m_OnClick:
     m_PersistentCalls:
       m_Calls: []
+--- !u!114 &9804123745255819
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 1274245267068317966}
+  m_Enabled: 1
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: 7334e4a874a3af244b6ba80884842db4, type: 3}
+  m_Name: 
+  m_EditorClassIdentifier: 
+  uLockFunction: 1
 --- !u!1 &1324857811795273833
 GameObject:
   m_ObjectHideFlags: 0
@@ -2529,10 +2543,10 @@ RectTransform:
   - {fileID: 4236613740610922289}
   m_Father: {fileID: 2303318506788104112}
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 1}
-  m_AnchorMax: {x: 0, y: 1}
-  m_AnchoredPosition: {x: 144.17, y: 0}
-  m_SizeDelta: {x: 125, y: 158}
+  m_AnchorMin: {x: 0, y: 0}
+  m_AnchorMax: {x: 0, y: 0}
+  m_AnchoredPosition: {x: 0, y: 0}
+  m_SizeDelta: {x: 0, y: 0}
   m_Pivot: {x: 0, y: 1}
 --- !u!222 &3481995393162732135
 CanvasRenderer:
@@ -4214,7 +4228,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 0
+  m_IsActive: 1
 --- !u!224 &909808399738442487
 RectTransform:
   m_ObjectHideFlags: 0
@@ -4507,7 +4521,7 @@ RectTransform:
   m_AnchorMin: {x: 0, y: 1}
   m_AnchorMax: {x: 1, y: 1}
   m_AnchoredPosition: {x: 0, y: 0}
-  m_SizeDelta: {x: 1.5360107, y: 158}
+  m_SizeDelta: {x: 0, y: 0}
   m_Pivot: {x: 0, y: 1}
 --- !u!114 &8458182348485034973
 MonoBehaviour:
@@ -4898,10 +4912,10 @@ RectTransform:
   - {fileID: 1449377359888905964}
   m_Father: {fileID: 2303318506788104112}
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 1}
-  m_AnchorMax: {x: 0, y: 1}
-  m_AnchoredPosition: {x: 432.51, y: 0}
-  m_SizeDelta: {x: 125, y: 158}
+  m_AnchorMin: {x: 0, y: 0}
+  m_AnchorMax: {x: 0, y: 0}
+  m_AnchoredPosition: {x: 0, y: 0}
+  m_SizeDelta: {x: 0, y: 0}
   m_Pivot: {x: 0, y: 1}
 --- !u!222 &7753157656850624912
 CanvasRenderer:

+ 8 - 0
Assets/Scripts/GameUI/UI/BattleSettlementPanel/BattleSettlementPanel.cs

@@ -75,6 +75,14 @@ namespace Fort23.Mono
 
                 if (levelBattleCombatType.levelbattleConfig.ID == 1003 || levelBattleCombatType.levelbattleConfig.ID == 100004)
                 {
+                    if (levelBattleCombatType.levelbattleConfig.ID == 1003
+                    {
+                        SkipToWidget skipToWidget1 = await UIManager.Instance.CreateGComponentForObject<SkipToWidget>(SkipToWidgetGam, null, SkipToContent);
+                        skipToWidget1.CustonInit(3);
+                        skipToWidgets.Add(skipToWidget1);
+                        skipToWidget1.OnClick = OnClick;
+                    }
+
                     SkipToWidget skipToWidget = await UIManager.Instance.CreateGComponentForObject<SkipToWidget>(SkipToWidgetGam, null, SkipToContent);
                     skipToWidget.CustonInit(1);
                     skipToWidgets.Add(skipToWidget);

BIN=BIN
Excel2Json/Excel/Language.xlsx


BIN=BIN
Excel2Json/Excel/Skipto.xlsx


BIN=BIN
Excel2Json/Excel/Unlock.xlsx