소스 검색

去掉一个效果

何晓捷 2 년 전
부모
커밋
9842368e10

+ 1 - 1
FGUIProject/assets/EnduringGiftBox/RushSaleGiftBoxUI.xml

@@ -19,7 +19,7 @@
     <text id="n13_yjmk" name="txtUrc" xy="453,623" size="224,68" group="n23_droi" fontSize="34" color="#b8857b" align="center" vAlign="middle" autoSize="shrink" text="今日限购0/1"/>
     <component id="n15_yjmk" name="btnBuyPink" src="yjmk2q" fileName="components/BtnBuyPink.xml" xy="408,693" group="n23_droi"/>
     <graph id="n25_droi" name="holderBtnBy" xy="570,744" size="46,29" group="n23_droi"/>
-    <graph id="n27_droi" name="holderZheKouChiXu" xy="394,692" size="33,33" group="n23_droi"/>
+    <graph id="n27_droi" name="holderZheKouChiXu" xy="394,692" size="33,33" group="n23_droi" visible="false"/>
     <component id="n14_yjmk" name="comDiscount" src="yjmk2r" fileName="components/ComDiscount2.xml" xy="333,642" group="n23_droi"/>
     <graph id="n26_droi" name="holderZheKou" xy="417,710" size="65,64" group="n23_droi"/>
     <text id="n16_yjmk" name="txtLrc" xy="379,787" size="380,46" group="n23_droi" fontSize="34" color="#b8857b" align="center" autoSize="shrink" text="可获得60充值经验"/>

+ 6 - 6
GameClient/Assets/Game/HotUpdate/Views/EnduringGiftBox/RushSaleGiftBoxView.cs

@@ -27,13 +27,13 @@ namespace GFGGame
 
         private GameObject _gameObject1;
         private GameObject _gameObject2;
-        private GameObject _gameObject3;
+        // private GameObject _gameObject3;
         private GameObject _gameObject4;
         private GameObject _gameObject5;
 
         private GoWrapper _wrapper1;
         private GoWrapper _wrapper2;
-        private GoWrapper _wrapper3;
+        // private GoWrapper _wrapper3;
         private GoWrapper _wrapper4;
         private GoWrapper _wrapper5;
 
@@ -88,9 +88,9 @@ namespace GFGGame
             SceneController.AddObjectToView(null, null, _ui.m_holderPaoBaby, resPath1,
                 out _gameObject1, out _wrapper1);
 
-            string resPath3 = ResPathUtil.GetViewEffectPath("ui_Activity", "Limite_discount_chixu");
-            SceneController.AddObjectToView(null, null, _ui.m_holderZheKouChiXu, resPath3,
-                out _gameObject3, out _wrapper3);
+            // string resPath3 = ResPathUtil.GetViewEffectPath("ui_Activity", "Limite_discount_chixu");
+            // SceneController.AddObjectToView(null, null, _ui.m_holderZheKouChiXu, resPath3,
+            //     out _gameObject3, out _wrapper3);
 
             Timers.inst.Add(0.8f, 1, (obj) =>
                 {
@@ -376,7 +376,7 @@ namespace GFGGame
         {
             SceneController.DestroyObjectFromView(_gameObject1, _wrapper1);
             SceneController.DestroyObjectFromView(_gameObject2, _wrapper2);
-            SceneController.DestroyObjectFromView(_gameObject3, _wrapper3);
+            // SceneController.DestroyObjectFromView(_gameObject3, _wrapper3);
             SceneController.DestroyObjectFromView(_gameObject4, _wrapper4);
             SceneController.DestroyObjectFromView(_gameObject5, _wrapper5);
             DestroyObjectFromView();

BIN
GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_fui.bytes