浏览代码

抽奖对战

zhaoyang 2 年之前
父节点
当前提交
3ba2c3f9d3

+ 2 - 2
FGUIProject/assets/Main/StoryFightTargetScoreUI.xml

@@ -17,8 +17,8 @@
     </component>
     <component id="n54_psph" name="comTargetCard" src="volsov" fileName="components/ComTargetSkillShow.xml" xy="1180,420" pivot="0.5,0.5" anchor="true" aspect="true" scale="0.3,0.3"/>
     <component id="n55_psph" name="comDeduction" src="psphix" fileName="components/ComDeduction.xml" xy="45,292" size="0,53"/>
-    <component id="n51_psph" name="myHead" src="o9ghtlq" fileName="components/ComHead2.xml" pkg="eg2y0ldp" xy="214,225" pivot="0.5,0.5" anchor="true" group="n66_e050" scale="0.7,0.7"/>
-    <component id="n52_psph" name="targetHead" src="o9ghtlq" fileName="components/ComHead2.xml" pkg="eg2y0ldp" xy="932,225" pivot="0.5,0.5" anchor="true" group="n66_e050" scale="0.7,0.7"/>
+    <component id="n51_psph" name="myHead" src="o9ghtlq" fileName="components/ComHead2.xml" pkg="eg2y0ldp" xy="214,225" pivot="0.5,0.5" anchor="true" group="n66_e050" scale="0.7,0.7" visible="false"/>
+    <component id="n52_psph" name="targetHead" src="o9ghtlq" fileName="components/ComHead2.xml" pkg="eg2y0ldp" xy="932,225" pivot="0.5,0.5" anchor="true" group="n66_e050" scale="0.7,0.7" visible="false"/>
     <component id="n28_uj53" name="proScore" src="v3k9c7" fileName="components/ProgressBarTargetScore.xml" xy="147,80" pivot="0,0.5" anchor="true" group="n66_e050">
       <ProgressBar value="100" max="100"/>
     </component>

+ 8 - 8
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Main/UI_StoryFightTargetScoreUI.cs

@@ -11,11 +11,11 @@ namespace UI.Main
         public GButton m_btnBack;
         public GButton m_btnSpeedUp;
         public GButton m_btnSkip;
+        public UI_ComTargetSkillShow m_comTargetCard;
+        public UI_ComDeduction m_comDeduction;
         public GComponent m_myHead;
         public GComponent m_targetHead;
         public UI_ProgressBarTargetScore m_proScore;
-        public UI_ComTargetSkillShow m_comTargetCard;
-        public UI_ComDeduction m_comDeduction;
         public Transition m_t1;
         public Transition m_t2;
         public const string URL = "ui://mfvz4q8k8xpg3w";
@@ -69,11 +69,11 @@ namespace UI.Main
             m_btnBack = (GButton)comp.GetChild("btnBack");
             m_btnSpeedUp = (GButton)comp.GetChild("btnSpeedUp");
             m_btnSkip = (GButton)comp.GetChild("btnSkip");
+            m_comTargetCard = (UI_ComTargetSkillShow)UI_ComTargetSkillShow.Create(comp.GetChild("comTargetCard"));
+            m_comDeduction = (UI_ComDeduction)UI_ComDeduction.Create(comp.GetChild("comDeduction"));
             m_myHead = (GComponent)comp.GetChild("myHead");
             m_targetHead = (GComponent)comp.GetChild("targetHead");
             m_proScore = (UI_ProgressBarTargetScore)UI_ProgressBarTargetScore.Create(comp.GetChild("proScore"));
-            m_comTargetCard = (UI_ComTargetSkillShow)UI_ComTargetSkillShow.Create(comp.GetChild("comTargetCard"));
-            m_comDeduction = (UI_ComDeduction)UI_ComDeduction.Create(comp.GetChild("comDeduction"));
             m_t1 = comp.GetTransition("t1");
             m_t2 = comp.GetTransition("t2");
         }
@@ -84,14 +84,14 @@ namespace UI.Main
             m_btnBack = null;
             m_btnSpeedUp = null;
             m_btnSkip = null;
-            m_myHead = null;
-            m_targetHead = null;
-            m_proScore.Dispose();
-            m_proScore = null;
             m_comTargetCard.Dispose();
             m_comTargetCard = null;
             m_comDeduction.Dispose();
             m_comDeduction = null;
+            m_myHead = null;
+            m_targetHead = null;
+            m_proScore.Dispose();
+            m_proScore = null;
             m_t1 = null;
             m_t2 = null;
             if(disposeTarget && target != null)

二进制
GameClient/Assets/ResIn/UI/Main/Main_fui.bytes