zhaoyang 2 年之前
父节点
当前提交
714fad6ed0

+ 7 - 6
FGUIProject/assets/LuckyBox/LuckyBoxStarUI.xml

@@ -4,9 +4,9 @@
     <remark page="0" value="买一次"/>
     <remark page="0" value="买一次"/>
     <remark page="1" value="买十次"/>
     <remark page="1" value="买十次"/>
   </controller>
   </controller>
-  <controller name="ctrlRewardsType" alias="奖池类型" pages="0,,1,,2," selected="2"/>
+  <controller name="ctrlRewardsType" alias="奖池类型" pages="0,,1,,2," selected="0"/>
   <displayList>
   <displayList>
-    <loader id="n0_l5nz" name="bg" xy="540,960" pivot="0.5,0.5" anchor="true" size="1080,2400" url="ui://drx9d1uso1391g" fill="scaleMatchWidth">
+    <loader id="n0_l5nz" name="bg" xy="540,960" pivot="0.5,0.5" anchor="true" size="1080,2400" url="ui://drx9d1uso1391h" fill="scaleMatchWidth">
       <gearIcon controller="ctrlRewardsType" pages="0,1,2" values="ui://drx9d1uso1391h|ui://drx9d1uso1391i|ui://drx9d1uso1391g"/>
       <gearIcon controller="ctrlRewardsType" pages="0,1,2" values="ui://drx9d1uso1391h|ui://drx9d1uso1391i|ui://drx9d1uso1391g"/>
       <relation target="" sidePair="center-center,middle-middle"/>
       <relation target="" sidePair="center-center,middle-middle"/>
     </loader>
     </loader>
@@ -26,13 +26,14 @@
     <component id="n12_l5nz" name="comStar1_0_0" src="l5nzq" fileName="components/ComStar.xml" xy="232,537" group="n19_l5nz"/>
     <component id="n12_l5nz" name="comStar1_0_0" src="l5nzq" fileName="components/ComStar.xml" xy="232,537" group="n19_l5nz"/>
     <component id="n13_l5nz" name="comStar1_0_1" src="l5nzq" fileName="components/ComStar.xml" xy="449,224" group="n19_l5nz"/>
     <component id="n13_l5nz" name="comStar1_0_1" src="l5nzq" fileName="components/ComStar.xml" xy="449,224" group="n19_l5nz"/>
     <component id="n14_l5nz" name="comStar1_0_2" src="l5nzq" fileName="components/ComStar.xml" xy="849,557" group="n19_l5nz"/>
     <component id="n14_l5nz" name="comStar1_0_2" src="l5nzq" fileName="components/ComStar.xml" xy="849,557" group="n19_l5nz"/>
-    <component id="n15_l5nz" name="comStar1_0_3" src="l5nzq" fileName="components/ComStar.xml" xy="419,803" group="n19_l5nz"/>
-    <component id="n33_o139" name="comStar1_0_4" src="l5nzq" fileName="components/ComStar.xml" xy="253,1005" group="n19_l5nz"/>
+    <component id="n15_l5nz" name="comStar1_0_3" src="l5nzq" fileName="components/ComStar.xml" xy="419,676" group="n19_l5nz"/>
+    <component id="n33_o139" name="comStar1_0_4" src="l5nzq" fileName="components/ComStar.xml" xy="278,861" group="n19_l5nz"/>
     <component id="n34_o139" name="comStar1_0_5" src="l5nzq" fileName="components/ComStar.xml" xy="828,1066" group="n19_l5nz"/>
     <component id="n34_o139" name="comStar1_0_5" src="l5nzq" fileName="components/ComStar.xml" xy="828,1066" group="n19_l5nz"/>
     <component id="n35_o139" name="comStar1_0_6" src="l5nzq" fileName="components/ComStar.xml" xy="253,1398" group="n19_l5nz"/>
     <component id="n35_o139" name="comStar1_0_6" src="l5nzq" fileName="components/ComStar.xml" xy="253,1398" group="n19_l5nz"/>
-    <component id="n36_o139" name="comStar1_0_7" src="l5nzq" fileName="components/ComStar.xml" xy="584,1272" group="n19_l5nz"/>
+    <component id="n36_o139" name="comStar1_0_7" src="l5nzq" fileName="components/ComStar.xml" xy="618,1272" group="n19_l5nz"/>
     <component id="n37_o139" name="comStar1_0_8" src="l5nzq" fileName="components/ComStar.xml" xy="586,1619" group="n19_l5nz"/>
     <component id="n37_o139" name="comStar1_0_8" src="l5nzq" fileName="components/ComStar.xml" xy="586,1619" group="n19_l5nz"/>
-    <group id="n19_l5nz" name="grpComStar0" xy="193,185" size="695,1473" advanced="true">
+    <component id="n51_e050" name="comStar1_0_9" src="l5nzq" fileName="components/ComStar.xml" xy="901,438" group="n19_l5nz"/>
+    <group id="n19_l5nz" name="grpComStar0" xy="227,219" size="679,1405" advanced="true">
       <gearDisplay controller="ctrlBuyType" pages="1"/>
       <gearDisplay controller="ctrlBuyType" pages="1"/>
       <gearDisplay2 controller="ctrlRewardsType" pages="0" condition="0"/>
       <gearDisplay2 controller="ctrlRewardsType" pages="0" condition="0"/>
       <relation target="" sidePair="left-center,top-middle"/>
       <relation target="" sidePair="left-center,top-middle"/>

+ 1 - 0
FGUIProject/assets/LuckyBox/components/ComStar.xml

@@ -3,5 +3,6 @@
   <controller name="c1" pages="0,,1," selected="0"/>
   <controller name="c1" pages="0,,1," selected="0"/>
   <displayList>
   <displayList>
     <component id="n8_t6j1" name="comLine" src="duufteb" fileName="components/ComponentLine.xml" xy="5,5" pivot="0,0.5" anchor="true" size="850,24"/>
     <component id="n8_t6j1" name="comLine" src="duufteb" fileName="components/ComponentLine.xml" xy="5,5" pivot="0,0.5" anchor="true" size="850,24"/>
+    <graph id="n9_e050" name="n9" xy="-5,-5" size="20,20" type="rect"/>
   </displayList>
   </displayList>
 </component>
 </component>

+ 4 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/LuckyBox/UI_LuckyBoxStarUI.cs

@@ -23,6 +23,7 @@ namespace UI.LuckyBox
         public UI_ComStar m_comStar1_0_6;
         public UI_ComStar m_comStar1_0_6;
         public UI_ComStar m_comStar1_0_7;
         public UI_ComStar m_comStar1_0_7;
         public UI_ComStar m_comStar1_0_8;
         public UI_ComStar m_comStar1_0_8;
+        public UI_ComStar m_comStar1_0_9;
         public GGroup m_grpComStar0;
         public GGroup m_grpComStar0;
         public UI_ComStar m_comStar1_1_0;
         public UI_ComStar m_comStar1_1_0;
         public UI_ComStar m_comStar1_1_1;
         public UI_ComStar m_comStar1_1_1;
@@ -108,6 +109,7 @@ namespace UI.LuckyBox
             m_comStar1_0_6 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_6"));
             m_comStar1_0_6 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_6"));
             m_comStar1_0_7 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_7"));
             m_comStar1_0_7 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_7"));
             m_comStar1_0_8 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_8"));
             m_comStar1_0_8 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_8"));
+            m_comStar1_0_9 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_9"));
             m_grpComStar0 = (GGroup)comp.GetChild("grpComStar0");
             m_grpComStar0 = (GGroup)comp.GetChild("grpComStar0");
             m_comStar1_1_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_0"));
             m_comStar1_1_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_0"));
             m_comStar1_1_1 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_1"));
             m_comStar1_1_1 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_1"));
@@ -161,6 +163,8 @@ namespace UI.LuckyBox
             m_comStar1_0_7 = null;
             m_comStar1_0_7 = null;
             m_comStar1_0_8.Dispose();
             m_comStar1_0_8.Dispose();
             m_comStar1_0_8 = null;
             m_comStar1_0_8 = null;
+            m_comStar1_0_9.Dispose();
+            m_comStar1_0_9 = null;
             m_grpComStar0 = null;
             m_grpComStar0 = null;
             m_comStar1_1_0.Dispose();
             m_comStar1_1_0.Dispose();
             m_comStar1_1_0 = null;
             m_comStar1_1_0 = null;

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxStarView.cs

@@ -142,6 +142,7 @@ namespace GFGGame
                 gcom1.visible = false;
                 gcom1.visible = false;
                 comStar.target.AddChildAt(gcom1, 2);
                 comStar.target.AddChildAt(gcom1, 2);
                 gcom1.scale = new Vector2(scale, scale);
                 gcom1.scale = new Vector2(scale, scale);
+                gcom1.rotation = rotation;
 
 
                 // GComponent gcom2 = CreateEffect(comStar, 3, "ui_ck_xs");
                 // GComponent gcom2 = CreateEffect(comStar, 3, "ui_ck_xs");
                 // gcom2.visible = false;
                 // gcom2.visible = false;

二进制
GameClient/Assets/ResIn/UI/LuckyBox/LuckyBox_fui.bytes