zhaoyang 3 жил өмнө
parent
commit
dfd48eae50

+ 3 - 2
FGUIProject/assets/Main/StoryLevelInfoUI.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <component size="1080,1160" designImageOffsetX="-750">
-  <controller name="ctrlNeed" pages="0,,1,,2," selected="1"/>
+  <controller name="ctrlNeed" pages="0,,1,,2," selected="0"/>
   <displayList>
     <loader id="n44_yoe2" name="btnBg" xy="0,-153" size="1080,1414" touchable="false" url="ui://mfvz4q8kj48o94" autoSize="true"/>
     <component id="n0_vxw5" name="btnStart" src="t8o13i" fileName="componentsLevel/ButtonStart.xml" xy="766,864">
@@ -24,7 +24,8 @@
     </list>
     <text id="n15_t8o1" name="txtLevelDesc" xy="387,419" size="638,140" fontSize="32" color="#a28d77" leading="10" ubb="true" autoSize="none" autoClearText="true" text="旋律在指尖流转,在天幕中划出一道 起伏的星轨折线谱,爱与星光于此吟 唱。参与限时活动星幕下的奏鸣!"/>
     <loader id="n16_t8o1" name="loaderHead" xy="210,2" pivot="0.5,0" anchor="true" size="332,558" url="ui://mfvz4q8kj48o96" autoSize="true" clearOnPublish="true"/>
-    <text id="n18_t8o1" name="txtPowerDesc" xy="822,1114" size="170,42" fontSize="28" color="#b19270" align="center" vAlign="middle" vars="true" autoSize="none" text="消耗体力{power=0}"/>
+    <loader id="n47_m1l9" name="loaCost" xy="812,1101" size="60,60" url="ui://eg2y0ldpq08x4" autoSize="true"/>
+    <text id="n18_t8o1" name="txtPowerDesc" xy="873,1109" size="101,42" visible="false" fontSize="28" color="#b19270" align="center" vAlign="middle" vars="true" autoSize="none" text="消耗体力:{power=5}"/>
     <image id="n34_pal5" name="n34" src="j48o97" fileName="images/zx_jq_rwbszik.png" xy="32,184"/>
     <text id="n21_t8o1" name="txtTargetName" xy="43,209" pivot="0.5,0" size="32,212" fontSize="32" color="#dcc7b3" align="center" autoSize="height" text="挑战对手">
       <relation target="n34_pal5" sidePair="top-top"/>

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Main/UI_StoryLevelInfoUI.cs

@@ -16,6 +16,7 @@ namespace UI.Main
         public GList m_listTag;
         public GTextField m_txtLevelDesc;
         public GLoader m_loaderHead;
+        public GLoader m_loaCost;
         public GTextField m_txtPowerDesc;
         public GTextField m_txtTargetName;
         public GButton m_btnFightOnce;
@@ -83,6 +84,7 @@ namespace UI.Main
             m_listTag = (GList)comp.GetChild("listTag");
             m_txtLevelDesc = (GTextField)comp.GetChild("txtLevelDesc");
             m_loaderHead = (GLoader)comp.GetChild("loaderHead");
+            m_loaCost = (GLoader)comp.GetChild("loaCost");
             m_txtPowerDesc = (GTextField)comp.GetChild("txtPowerDesc");
             m_txtTargetName = (GTextField)comp.GetChild("txtTargetName");
             m_btnFightOnce = (GButton)comp.GetChild("btnFightOnce");
@@ -106,6 +108,7 @@ namespace UI.Main
             m_listTag = null;
             m_txtLevelDesc = null;
             m_loaderHead = null;
+            m_loaCost = null;
             m_txtPowerDesc = null;
             m_txtTargetName = null;
             m_btnFightOnce = null;

BIN
GameClient/Assets/ResIn/UI/Main/Main_fui.bytes