Przeglądaj źródła

双倍奖励添加确认框

lzx 22 godzin temu
rodzic
commit
d766cb2b1a

+ 2 - 2
Assets/Res/UI/MainPanel/MainPanel.prefab

@@ -1915,7 +1915,7 @@ RectTransform:
   m_AnchorMin: {x: 0.5, y: 1}
   m_AnchorMax: {x: 0.5, y: 1}
   m_AnchoredPosition: {x: 0, y: 0}
-  m_SizeDelta: {x: 0, y: 27.6952}
+  m_SizeDelta: {x: 99, y: 27.6952}
   m_Pivot: {x: 0.5, y: 1}
 --- !u!222 &8449163745382179136
 CanvasRenderer:
@@ -2958,7 +2958,7 @@ RectTransform:
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 1, y: 1}
   m_AnchoredPosition: {x: 0, y: 0}
-  m_SizeDelta: {x: 0, y: 0}
+  m_SizeDelta: {x: -76.77969, y: 0}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!222 &7635584099307227047
 CanvasRenderer:

+ 5 - 0
Assets/Scripts/GameUI/UI/BoxPanel/GachaPanel.cs

@@ -66,6 +66,11 @@ namespace Fort23.Mono
         {
             tenButton.onClick.AddListener(async () =>
             {
+                bool relust = await TipsPanle.OpenPnael(10800);
+                if (!relust)
+                {
+                    return;
+                }
 #if UNITY_ANDROID && !UNITY_EDITOR&& Taptap
                 if (!PlayerManager.Instance.BagController.IsEnough(23001, 1))
                 {

+ 5 - 0
Assets/Scripts/GameUI/UI/ShopPanel/ShopGachaPanel.cs

@@ -58,6 +58,11 @@ namespace Fort23.Mono
         {
             Btn_ShuangBei.onClick.AddListener(async () =>
             {
+                bool relust = await TipsPanle.OpenPnael(10800);
+                if (!relust)
+                {
+                    return;
+                }
 #if UNITY_ANDROID && !UNITY_EDITOR&& Taptap
                 if (!PlayerManager.Instance.BagController.IsEnough(23001, 1))
                 {

BIN
Excel2Json/Excel/Language.xlsx