فهرست منبع

修改限时累充界面部分UI

leiyasi 1 سال پیش
والد
کامیت
7b7bc90c9a

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Bag/UI_BagUI.cs

@@ -11,6 +11,7 @@ namespace UI.Bag
         public GComponent m_comValueBar;
         public GComponent m_comValueBar;
         public GList m_list;
         public GList m_list;
         public GButton m_btnBack;
         public GButton m_btnBack;
+        public Transition m_t0;
         public const string URL = "ui://2bsz6nelohbxn";
         public const string URL = "ui://2bsz6nelohbxn";
         public const string PACKAGE_NAME = "Bag";
         public const string PACKAGE_NAME = "Bag";
         public const string RES_NAME = "BagUI";
         public const string RES_NAME = "BagUI";
@@ -62,6 +63,7 @@ namespace UI.Bag
             m_comValueBar = (GComponent)comp.GetChild("comValueBar");
             m_comValueBar = (GComponent)comp.GetChild("comValueBar");
             m_list = (GList)comp.GetChild("list");
             m_list = (GList)comp.GetChild("list");
             m_btnBack = (GButton)comp.GetChild("btnBack");
             m_btnBack = (GButton)comp.GetChild("btnBack");
+            m_t0 = comp.GetTransition("t0");
         }
         }
         public void Dispose(bool disposeTarget = false)
         public void Dispose(bool disposeTarget = false)
         {
         {
@@ -69,6 +71,7 @@ namespace UI.Bag
             m_comValueBar = null;
             m_comValueBar = null;
             m_list = null;
             m_list = null;
             m_btnBack = null;
             m_btnBack = null;
+            m_t0 = null;
             if(disposeTarget && target != null)
             if(disposeTarget && target != null)
             {
             {
                 target.RemoveFromParent();
                 target.RemoveFromParent();

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_DailyWelfareUI.cs

@@ -11,6 +11,7 @@ namespace UI.DailyWelfare
         public GComponent m_comValueBar;
         public GComponent m_comValueBar;
         public GButton m_btnback;
         public GButton m_btnback;
         public UI_ComList m_comList;
         public UI_ComList m_comList;
+        public Transition m_t0;
         public const string URL = "ui://t8nwuj7ifqor0";
         public const string URL = "ui://t8nwuj7ifqor0";
         public const string PACKAGE_NAME = "DailyWelfare";
         public const string PACKAGE_NAME = "DailyWelfare";
         public const string RES_NAME = "DailyWelfareUI";
         public const string RES_NAME = "DailyWelfareUI";
@@ -62,6 +63,7 @@ namespace UI.DailyWelfare
             m_comValueBar = (GComponent)comp.GetChild("comValueBar");
             m_comValueBar = (GComponent)comp.GetChild("comValueBar");
             m_btnback = (GButton)comp.GetChild("btnback");
             m_btnback = (GButton)comp.GetChild("btnback");
             m_comList = (UI_ComList)UI_ComList.Create(comp.GetChild("comList"));
             m_comList = (UI_ComList)UI_ComList.Create(comp.GetChild("comList"));
+            m_t0 = comp.GetTransition("t0");
         }
         }
         public void Dispose(bool disposeTarget = false)
         public void Dispose(bool disposeTarget = false)
         {
         {
@@ -70,6 +72,7 @@ namespace UI.DailyWelfare
             m_btnback = null;
             m_btnback = null;
             m_comList.Dispose();
             m_comList.Dispose();
             m_comList = null;
             m_comList = null;
+            m_t0 = null;
             if(disposeTarget && target != null)
             if(disposeTarget && target != null)
             {
             {
                 target.RemoveFromParent();
                 target.RemoveFromParent();

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/LimitChargeView.cs

@@ -119,7 +119,7 @@ namespace GFGGame
             }
             }
             item.m_listRewards.data = _rechargeCfgs[index].bonusArr;
             item.m_listRewards.data = _rechargeCfgs[index].bonusArr;
             item.m_listRewards.numItems = _rechargeCfgs[index].bonusArr.Length;
             item.m_listRewards.numItems = _rechargeCfgs[index].bonusArr.Length;
-
+            item.m_listRewards.scrollPane.posX = 0;
             UI_ListChargeItem.ProxyEnd();
             UI_ListChargeItem.ProxyEnd();
         }
         }
         private void RenderListRewardItem(int index, GObject obj)
         private void RenderListRewardItem(int index, GObject obj)

BIN
GameClient/Assets/ResIn/UI/Bag/Bag_fui.bytes


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0.png


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_1.png


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_fui.bytes