Przeglądaj źródła

购买引导快速点击返回会卡引导

zhaoyang 2 lat temu
rodzic
commit
0b91267aef

+ 3 - 3
FGUIProject/assets/DressUp/DressUpFightUI.xml

@@ -65,9 +65,6 @@
     <group id="n44_wono" name="n44" xy="27,1028" size="129,682" group="n38_8lqj" advanced="true" layout="vt" lineGap="32" excludeInvisibles="true">
       <relation target="" sidePair="bottom-bottom"/>
     </group>
-    <loader id="n42_m1l9" name="btnGuide" xy="455,875" size="170,170" group="n38_8lqj" aspect="true">
-      <relation target="" sidePair="center-center,middle-middle"/>
-    </loader>
     <component id="n8_qsvd" name="btnNext" src="wonoe5" fileName="components/Button14.xml" xy="140,1728" group="n47_v95q">
       <relation target="" sidePair="bottom-bottom"/>
       <Button title="下一步"/>
@@ -88,5 +85,8 @@
     <group id="n38_8lqj" name="graContent" xy="0,0" size="1310,1920" advanced="true">
       <gearDisplay controller="c1" pages="0"/>
     </group>
+    <loader id="n42_m1l9" name="loaGuide" xy="0,0" size="1080,1920">
+      <relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
+    </loader>
   </displayList>
 </component>

+ 3 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DressUp/UI_DressUpFightUI.cs

@@ -29,12 +29,12 @@ namespace UI.DressUp
         public GButton m_btnRenewal;
         public GButton m_btnDelete;
         public GButton m_btnSearch;
-        public GLoader m_btnGuide;
         public GButton m_btnNext;
         public GButton m_btnRecommend;
         public GButton m_btnAutoPlay;
         public GTextField m_txtRecommendCount;
         public GGroup m_graContent;
+        public GLoader m_loaGuide;
         public const string URL = "ui://mbo439wbqsvd2m";
         public const string PACKAGE_NAME = "DressUp";
         public const string RES_NAME = "DressUpFightUI";
@@ -104,12 +104,12 @@ namespace UI.DressUp
             m_btnRenewal = (GButton)comp.GetChild("btnRenewal");
             m_btnDelete = (GButton)comp.GetChild("btnDelete");
             m_btnSearch = (GButton)comp.GetChild("btnSearch");
-            m_btnGuide = (GLoader)comp.GetChild("btnGuide");
             m_btnNext = (GButton)comp.GetChild("btnNext");
             m_btnRecommend = (GButton)comp.GetChild("btnRecommend");
             m_btnAutoPlay = (GButton)comp.GetChild("btnAutoPlay");
             m_txtRecommendCount = (GTextField)comp.GetChild("txtRecommendCount");
             m_graContent = (GGroup)comp.GetChild("graContent");
+            m_loaGuide = (GLoader)comp.GetChild("loaGuide");
         }
         public void Dispose(bool disposeTarget = false)
         {
@@ -140,12 +140,12 @@ namespace UI.DressUp
             m_btnRenewal = null;
             m_btnDelete = null;
             m_btnSearch = null;
-            m_btnGuide = null;
             m_btnNext = null;
             m_btnRecommend = null;
             m_btnAutoPlay = null;
             m_txtRecommendCount = null;
             m_graContent = null;
+            m_loaGuide = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

+ 3 - 2
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpFightView.cs

@@ -87,7 +87,7 @@ namespace GFGGame
             _ui.m_partsList2.m_list.onClickItem.Add(OnClickSuitPartsListItem);
             _ui.m_touchPad.onClick.Add(OnTouchPad);
             _ui.m_btnHint.onClick.Add(OnClickBtnHint);
-            _ui.m_btnGuide.onClick.Add(OnTouchPad);
+            // _ui.m_btnGuide.onClick.Add(OnTouchPad);
             _ui.m_btnClose.onClick.Add(OnClickBtnClose);
             _ui.m_btnDelete.onClick.Add(OnClickBtnDelete);
             _ui.m_btnNext.onClick.Add(OnClickBtnNext);
@@ -122,7 +122,7 @@ namespace GFGGame
         protected override void OnShown()
         {
             base.OnShown();
-
+            _ui.m_loaGuide.visible = true;
             InstanceZonesDataManager.usedRecommend = false;
             // _ui.m_comboBox.title = "我的套装";
             _ui.m_txtRecommendCount.SetVar("v1", "" + GameGlobal.myNumericComponent.GetAsInt(ET.NumericType.RecommendCount)).FlushVars();
@@ -1028,6 +1028,7 @@ namespace GFGGame
             {
                 Timers.inst.Remove(CheckGuide);
             }
+            _ui.m_loaGuide.visible = false;
         }
         protected override void UpdateToCheckGuide(object param)
         {

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