Эх сурвалжийг харах

拍照添加层级按钮资源

zhaoyang 3 жил өмнө
parent
commit
4e10e0b53f

+ 12 - 9
FGUIProject/assets/DressUp/PhotographUI.xml

@@ -12,24 +12,27 @@
     </loader>
     <component id="n9_g3xa" name="comSelectBox" src="g3xa4l" fileName="ComChecked.xml" xy="420,728" pivot="0.5,0.5" anchor="true"/>
     <component id="n1_yd72" name="btnBack" src="9xlo8" fileName="components/ButtonBack1.xml" pkg="eg2y0ldp" xy="35,80"/>
-    <component id="n10_i3ix" name="btnPhotograph" src="g3xa4h" fileName="components/Button8.xml" xy="919,650">
+    <component id="n5_7dea" name="ComSelectRes" src="7dea4f" fileName="components/ComSelect.xml" xy="0,1086">
+      <relation target="" sidePair="center-center,bottom-bottom"/>
+    </component>
+    <component id="n10_i3ix" name="btnPhotograph" src="g3xa4h" fileName="components/Button8.xml" xy="940,409" group="n16_9ico">
       <relation target="" sidePair="bottom-bottom"/>
       <Button icon="ui://mbo439wbnz0t5d"/>
     </component>
-    <component id="n6_g3xa" name="btnChoose" src="g3xa4h" fileName="components/Button8.xml" xy="924,803">
+    <component id="n6_g3xa" name="btnChoose" src="g3xa4h" fileName="components/Button8.xml" xy="940,554" group="n16_9ico">
       <relation target="" sidePair="bottom-bottom"/>
       <Button icon="ui://mbo439wbxmtl4s"/>
     </component>
-    <component id="n5_7dea" name="ComSelectRes" src="7dea4f" fileName="components/ComSelect.xml" xy="0,1086">
-      <relation target="" sidePair="center-center,bottom-bottom"/>
-    </component>
-    <component id="n13_u7i8" name="btnUp" src="g3xa4h" fileName="components/Button8.xml" xy="12,633">
+    <component id="n13_u7i8" name="btnUp" src="g3xa4h" fileName="components/Button8.xml" xy="940,699" group="n16_9ico">
       <relation target="" sidePair="bottom-bottom"/>
-      <Button icon="ui://mbo439wbxmtl4s"/>
+      <Button icon="ui://mbo439wb9ico5f"/>
     </component>
-    <component id="n14_u7i8" name="btnDown" src="g3xa4h" fileName="components/Button8.xml" xy="8,796">
+    <component id="n14_u7i8" name="btnDown" src="g3xa4h" fileName="components/Button8.xml" xy="940,844" group="n16_9ico">
       <relation target="" sidePair="bottom-bottom"/>
-      <Button icon="ui://mbo439wbxmtl4s"/>
+      <Button icon="ui://mbo439wb9ico5e"/>
     </component>
+    <group id="n16_9ico" name="n16" xy="940,409" size="125,560" advanced="true">
+      <relation target="" sidePair="right-right,top-top"/>
+    </group>
   </displayList>
 </component>

BIN
FGUIProject/assets/DressUp/images/pz_sxsx_1.png


BIN
FGUIProject/assets/DressUp/images/pz_sxsx_2.png


+ 2 - 0
FGUIProject/assets/DressUp/package.xml

@@ -167,6 +167,8 @@
     <component id="i3ix5a" name="Button12.xml" path="/components/"/>
     <image id="i3ix5c" name="pz_xiantiao.png" path="/images/"/>
     <image id="nz0t5d" name="pz_pzanniu.png" path="/images/"/>
+    <image id="9ico5e" name="pz_sxsx_2.png" path="/images/"/>
+    <image id="9ico5f" name="pz_sxsx_1.png" path="/images/"/>
   </resources>
   <publish name="" path="..\GameClient\Assets\ResIn\UI\DressUp" packageCount="2" genCode="true" extractAlpha="true"/>
 </packageDescription>

+ 4 - 4
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DressUp/UI_PhotographUI.cs

@@ -12,9 +12,9 @@ namespace UI.DressUp
         public GLoader m_loaGuide1;
         public UI_ComChecked m_comSelectBox;
         public GButton m_btnBack;
+        public UI_ComSelect m_ComSelectRes;
         public GButton m_btnPhotograph;
         public GButton m_btnChoose;
-        public UI_ComSelect m_ComSelectRes;
         public GButton m_btnUp;
         public GButton m_btnDown;
         public const string URL = "ui://mbo439wbbe944a";
@@ -69,9 +69,9 @@ namespace UI.DressUp
             m_loaGuide1 = (GLoader)comp.GetChild("loaGuide1");
             m_comSelectBox = (UI_ComChecked)UI_ComChecked.Create(comp.GetChild("comSelectBox"));
             m_btnBack = (GButton)comp.GetChild("btnBack");
+            m_ComSelectRes = (UI_ComSelect)UI_ComSelect.Create(comp.GetChild("ComSelectRes"));
             m_btnPhotograph = (GButton)comp.GetChild("btnPhotograph");
             m_btnChoose = (GButton)comp.GetChild("btnChoose");
-            m_ComSelectRes = (UI_ComSelect)UI_ComSelect.Create(comp.GetChild("ComSelectRes"));
             m_btnUp = (GButton)comp.GetChild("btnUp");
             m_btnDown = (GButton)comp.GetChild("btnDown");
         }
@@ -83,10 +83,10 @@ namespace UI.DressUp
             m_comSelectBox.Dispose();
             m_comSelectBox = null;
             m_btnBack = null;
-            m_btnPhotograph = null;
-            m_btnChoose = null;
             m_ComSelectRes.Dispose();
             m_ComSelectRes = null;
+            m_btnPhotograph = null;
+            m_btnChoose = null;
             m_btnUp = null;
             m_btnDown = null;
             if(disposeTarget && target != null)

BIN
GameClient/Assets/ResIn/UI/DressUp/DressUp_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/DressUp/DressUp_atlas0.png


BIN
GameClient/Assets/ResIn/UI/DressUp/DressUp_fui.bytes