Browse Source

替换按钮资源

zhaoyang 2 years ago
parent
commit
f34b2c7e2f

+ 9 - 9
FGUIProject/assets/LuckyBox/LuckyBoxActivityUI.xml

@@ -13,18 +13,18 @@
     <group id="n55_mbf1" name="n55" xy="416,105" size="247,44" advanced="true">
       <relation target="" sidePair="top-top"/>
     </group>
-    <component id="n46_mbf1" name="btnReward" src="mbf1taf" fileName="components/Button5.xml" xy="35,213" group="n52_mbf1">
-      <Button icon="ui://drx9d1usmbf1tai"/>
+    <component id="n47_mbf1" name="btnGiftBag" src="mbf1taf" fileName="components/Button5.xml" xy="9,504" size="151,201" group="n51_mbf1" visible="false">
+      <Button icon="ui://drx9d1ust6j1tck"/>
     </component>
-    <component id="n45_mbf1" name="btnShop" src="mbf1taf" fileName="components/Button5.xml" xy="35,328" group="n52_mbf1">
-      <Button icon="ui://drx9d1usmbf1taj"/>
+    <component id="n57_droi" name="comBagTime" src="droitan" fileName="components/ComBagTime.xml" xy="24,625" group="n51_mbf1" visible="false"/>
+    <group id="n51_mbf1" name="n51" xy="9,504" size="151,201" group="n52_mbf1" advanced="true"/>
+    <component id="n45_mbf1" name="btnShop" src="mbf1taf" fileName="components/Button5.xml" xy="9,375" group="n52_mbf1">
+      <Button icon="ui://drx9d1ust6j1tcm"/>
     </component>
-    <component id="n47_mbf1" name="btnGiftBag" src="mbf1taf" fileName="components/Button5.xml" xy="35,443" group="n51_mbf1" visible="false">
-      <Button icon="ui://drx9d1usmbf1tak"/>
+    <component id="n46_mbf1" name="btnReward" src="mbf1taf" fileName="components/Button5.xml" xy="9,246" group="n52_mbf1">
+      <Button icon="ui://drx9d1ust6j1tcl"/>
     </component>
-    <component id="n57_droi" name="comBagTime" src="droitan" fileName="components/ComBagTime.xml" xy="18,523" group="n51_mbf1" visible="false"/>
-    <group id="n51_mbf1" name="n51" xy="18,443" size="130,112" group="n52_mbf1" advanced="true"/>
-    <group id="n52_mbf1" name="n52" xy="18,213" size="130,342" advanced="true" layout="vt" lineGap="20" excludeInvisibles="true"/>
+    <group id="n52_mbf1" name="n52" xy="9,246" size="151,459" advanced="true"/>
     <image id="n56_mbf1" name="n56" src="mbf1tam" fileName="images/cj_tswz_db.png" xy="136,1497" group="n54_mbf1"/>
     <image id="n53_mbf1" name="n53" src="mbf1tam" fileName="images/cj_tswz_db.png" xy="136,1497" group="n54_mbf1"/>
     <text id="n44_mbf1" name="txtCount" xy="240,1496" pivot="0.5,0" size="600,41" group="n54_mbf1" font="ui://eg2y0ldpa0cftkz" fontSize="30" color="#fff7d4" align="center" vars="true" text="{value=15}次摘星内必得{name=沧海月明}限定部件或对应词牌"/>

+ 3 - 6
FGUIProject/assets/LuckyBox/components/Button5.xml

@@ -1,12 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="94,95" extention="Button">
+<component size="151,133" extention="Button">
   <controller name="button" pages="0,up,1,down" selected="0"/>
   <displayList>
-    <loader id="n1_vek8" name="icon" xy="0,0" size="94,95" url="ui://drx9d1usvek8v" autoSize="true"/>
-    <text id="n4_mbf1" name="title" xy="27,26" pivot="0.5,0.5" size="40,42" fontSize="30" align="center" vAlign="middle" text="">
-      <relation target="" sidePair="center-center,middle-middle"/>
-    </text>
+    <loader id="n1_vek8" name="icon" xy="0,-69" size="151,201" url="ui://drx9d1ust6j1tcm" autoSize="true"/>
+    <text id="n4_mbf1" name="title" xy="55,45" pivot="0.5,0.5" size="40,42" fontSize="30" align="center" vAlign="middle" text=""/>
   </displayList>
   <Button/>
-  <relation target="n1_vek8" sidePair="width-width,height-height"/>
 </component>

BIN
FGUIProject/assets/LuckyBox/images/cj_mrth_db.png


BIN
FGUIProject/assets/LuckyBox/images/cj_zxjl_db.png


BIN
FGUIProject/assets/LuckyBox/images/cj_zxth_db.png


+ 3 - 0
FGUIProject/assets/LuckyBox/package.xml

@@ -140,6 +140,9 @@
     <image id="volstch" name="zx_lianxian_lan_shang.png" path="/imageNews/"/>
     <image id="volstci" name="zx_zhuangshi_xinggui.png" path="/imageNews/"/>
     <image id="volstcj" name="cj_wz_jhsy.png" path="/imageNews/"/>
+    <image id="t6j1tck" name="cj_mrth_db.png" path="/images/"/>
+    <image id="t6j1tcl" name="cj_zxjl_db.png" path="/images/"/>
+    <image id="t6j1tcm" name="cj_zxth_db.png" path="/images/"/>
   </resources>
   <publish name="" path="../GameClient/Assets/ResIn/UI/LuckyBox" packageCount="2" genCode="true" extractAlpha="true"/>
 </packageDescription>

+ 6 - 6
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/LuckyBox/UI_LuckyBoxActivityUI.cs

@@ -11,10 +11,10 @@ namespace UI.LuckyBox
         public GButton m_btnBack;
         public GComponent m_valueBar;
         public GTextField m_txtTime;
-        public GButton m_btnReward;
-        public GButton m_btnShop;
         public GButton m_btnGiftBag;
         public UI_ComBagTime m_comBagTime;
+        public GButton m_btnShop;
+        public GButton m_btnReward;
         public GTextField m_txtCount;
         public const string URL = "ui://drx9d1usmbf1tad";
         public const string PACKAGE_NAME = "LuckyBox";
@@ -67,10 +67,10 @@ namespace UI.LuckyBox
             m_btnBack = (GButton)comp.GetChild("btnBack");
             m_valueBar = (GComponent)comp.GetChild("valueBar");
             m_txtTime = (GTextField)comp.GetChild("txtTime");
-            m_btnReward = (GButton)comp.GetChild("btnReward");
-            m_btnShop = (GButton)comp.GetChild("btnShop");
             m_btnGiftBag = (GButton)comp.GetChild("btnGiftBag");
             m_comBagTime = (UI_ComBagTime)UI_ComBagTime.Create(comp.GetChild("comBagTime"));
+            m_btnShop = (GButton)comp.GetChild("btnShop");
+            m_btnReward = (GButton)comp.GetChild("btnReward");
             m_txtCount = (GTextField)comp.GetChild("txtCount");
         }
         public void Dispose(bool disposeTarget = false)
@@ -80,11 +80,11 @@ namespace UI.LuckyBox
             m_btnBack = null;
             m_valueBar = null;
             m_txtTime = null;
-            m_btnReward = null;
-            m_btnShop = null;
             m_btnGiftBag = null;
             m_comBagTime.Dispose();
             m_comBagTime = null;
+            m_btnShop = null;
+            m_btnReward = null;
             m_txtCount = null;
             if(disposeTarget && target != null)
             {

BIN
GameClient/Assets/ResIn/UI/LuckyBox/LuckyBox_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/LuckyBox/LuckyBox_atlas0.png


BIN
GameClient/Assets/ResIn/UI/LuckyBox/LuckyBox_fui.bytes