Browse Source

替换资源

zhaoyang 2 years ago
parent
commit
761877f341

+ 5 - 5
FGUIProject/assets/Launcher/LauncherAlertUI.xml

@@ -1,15 +1,15 @@
 <?xml version="1.0" encoding="utf-8"?>
 <?xml version="1.0" encoding="utf-8"?>
-<component size="936,472">
+<component size="962,472">
   <displayList>
   <displayList>
-    <image id="n0_l55o" name="bg" src="wgy9k" fileName="images/hc_kuang_6.png" xy="0,0" size="936,472">
+    <component id="n0_l55o" name="bg" src="si5ztih" fileName="components/ComBg.xml" xy="0,0" size="962,472">
       <relation target="n5_l55o" sidePair="height-height"/>
       <relation target="n5_l55o" sidePair="height-height"/>
-    </image>
+    </component>
     <text id="n5_l55o" name="txtContent" xy="111,124" size="714,142" fontSize="36" color="#876e54" align="center" vAlign="middle" autoSize="height" autoClearText="true" text="示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例"/>
     <text id="n5_l55o" name="txtContent" xy="111,124" size="714,142" fontSize="36" color="#876e54" align="center" vAlign="middle" autoSize="height" autoClearText="true" text="示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例示例"/>
-    <component id="n3_l55o" name="btnLeft" src="k0v5i" fileName="components/Button1.xml" xy="54,322">
+    <component id="n3_l55o" name="btnLeft" src="dhoaw" fileName="components/Button18.xml" xy="88,322">
       <relation target="n0_l55o" sidePair="bottom-bottom"/>
       <relation target="n0_l55o" sidePair="bottom-bottom"/>
       <Button title="取消"/>
       <Button title="取消"/>
     </component>
     </component>
-    <component id="n4_l55o" name="btnRight" src="k0v5j" fileName="components/Button2.xml" xy="496,322">
+    <component id="n4_l55o" name="btnRight" src="dhoax" fileName="components/Button19.xml" xy="530,322">
       <relation target="n3_l55o" sidePair="top-top"/>
       <relation target="n3_l55o" sidePair="top-top"/>
       <Button title="确认"/>
       <Button title="确认"/>
     </component>
     </component>

+ 11 - 0
FGUIProject/assets/Launcher/components/Button18.xml

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="342,96" extention="Button">
+  <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
+  <displayList>
+    <loader id="n2_r9ri" name="icon" xy="0,0" pivot="0.5,0.5" size="342,96" url="ui://mgs5yrnjdhoaz" autoSize="true"/>
+    <text id="n1_r9ri" name="title" xy="0,0" size="342,96" font="ui://eg2y0ldpwonotjc" fontSize="52" color="#f8eae5" align="center" vAlign="middle" autoSize="none" strokeColor="#c79a89" strokeSize="2" shadowColor="#bc9e91" shadowOffset="1,1" singleLine="true" text="">
+      <relation target="" sidePair="width-width,height-height"/>
+    </text>
+  </displayList>
+  <Button/>
+</component>

+ 11 - 0
FGUIProject/assets/Launcher/components/Button19.xml

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="344,97" extention="Button">
+  <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
+  <displayList>
+    <loader id="n4_wono" name="icon" xy="0,0" size="344,97" url="ui://mgs5yrnjdhoay" autoSize="true"/>
+    <text id="n5_wono" name="title" xy="0,0" pivot="0.5,0" size="344,97" font="ui://eg2y0ldpwonotjc" fontSize="52" color="#fcf2f2" align="center" vAlign="middle" autoSize="none" strokeColor="#cc8584" strokeSize="2" shadowColor="#c68686" shadowOffset="1,1" text="">
+      <relation target="" sidePair="width-width,height-height"/>
+    </text>
+  </displayList>
+  <Button/>
+</component>

BIN
FGUIProject/assets/Launcher/images/anniuty.png


BIN
FGUIProject/assets/Launcher/images/anniuty3.png


+ 4 - 0
FGUIProject/assets/Launcher/package.xml

@@ -32,6 +32,10 @@
     <image id="r9ritjk" name="tc_tydikua_1.png" path="/images/" scale="9grid" scale9grid="240,281,480,562"/>
     <image id="r9ritjk" name="tc_tydikua_1.png" path="/images/" scale="9grid" scale9grid="240,281,480,562"/>
     <image id="si5ztie" name="tc_tydikua_3.png" path="/images/"/>
     <image id="si5ztie" name="tc_tydikua_3.png" path="/images/"/>
     <image id="si5ztif" name="tc_tydikua_52.png" path="/images/"/>
     <image id="si5ztif" name="tc_tydikua_52.png" path="/images/"/>
+    <component id="dhoaw" name="Button18.xml" path="/components/" exported="true"/>
+    <component id="dhoax" name="Button19.xml" path="/components/" exported="true"/>
+    <image id="dhoay" name="anniuty.png" path="/images/" exported="true"/>
+    <image id="dhoaz" name="anniuty3.png" path="/images/" exported="true"/>
   </resources>
   </resources>
   <publish name="" path="..\GameClient\Assets\Resources\UI\Launcher" packageCount="2" genCode="true" codePath="..\GameClient\Assets\Game\Launcher\FairyGUI\GenCode\" extractAlpha="true"/>
   <publish name="" path="..\GameClient\Assets\Resources\UI\Launcher" packageCount="2" genCode="true" codePath="..\GameClient\Assets\Game\Launcher\FairyGUI\GenCode\" extractAlpha="true"/>
 </packageDescription>
 </packageDescription>

+ 2 - 2
GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_LauncherAlertUI.cs

@@ -7,7 +7,7 @@ namespace UI.Launcher
     public partial class UI_LauncherAlertUI
     public partial class UI_LauncherAlertUI
     {
     {
         public GComponent target;
         public GComponent target;
-        public GImage m_bg;
+        public GComponent m_bg;
         public GTextField m_txtContent;
         public GTextField m_txtContent;
         public GButton m_btnLeft;
         public GButton m_btnLeft;
         public GButton m_btnRight;
         public GButton m_btnRight;
@@ -58,7 +58,7 @@ namespace UI.Launcher
 
 
         private void Init(GComponent comp)
         private void Init(GComponent comp)
         {
         {
-            m_bg = (GImage)comp.GetChild("bg");
+            m_bg = (GComponent)comp.GetChild("bg");
             m_txtContent = (GTextField)comp.GetChild("txtContent");
             m_txtContent = (GTextField)comp.GetChild("txtContent");
             m_btnLeft = (GButton)comp.GetChild("btnLeft");
             m_btnLeft = (GButton)comp.GetChild("btnLeft");
             m_btnRight = (GButton)comp.GetChild("btnRight");
             m_btnRight = (GButton)comp.GetChild("btnRight");

BIN
GameClient/Assets/Resources/UI/Launcher/Launcher_atlas0!a.png


BIN
GameClient/Assets/Resources/UI/Launcher/Launcher_atlas0.png


BIN
GameClient/Assets/Resources/UI/Launcher/Launcher_fui.bytes