Browse Source

引导特效屏蔽无用UI

zhaoyang 3 years ago
parent
commit
bbd6446a74

+ 3 - 3
FGUIProject/assets/Guide/GuideUI.xml

@@ -4,9 +4,9 @@
     <component id="n0" name="mask" src="tu96e" fileName="components/Component2.xml" xy="0,0">
     <component id="n0" name="mask" src="tu96e" fileName="components/Component2.xml" xy="0,0">
       <relation target="" sidePair="width-width,height-height"/>
       <relation target="" sidePair="width-width,height-height"/>
     </component>
     </component>
-    <component id="n15_tu96" name="rectFrame" src="tu96f" fileName="components/Component3.xml" xy="404,798" touchable="false"/>
+    <component id="n15_tu96" name="rectFrame" src="tu96f" fileName="components/Component3.xml" xy="404,798" visible="false" touchable="false"/>
     <component id="n17_tu96" name="compTxt" src="tu96d" fileName="components/Component1.xml" xy="261,1099" touchable="false"/>
     <component id="n17_tu96" name="compTxt" src="tu96d" fileName="components/Component1.xml" xy="261,1099" touchable="false"/>
-    <image id="n18_a5x3" name="rectFrameTemp" src="tu96c" fileName="images/yd_tykuang_2.png" xy="272,822"/>
-    <graph id="n19_bd1c" name="holder" xy="400,1285" size="100,100"/>
+    <image id="n18_a5x3" name="rectFrameTemp" src="tu96c" fileName="images/yd_tykuang_2.png" xy="272,822" visible="false"/>
+    <graph id="n19_bd1c" name="holder" xy="400,1285" size="100,100" touchable="false"/>
   </displayList>
   </displayList>
 </component>
 </component>

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Guide/GuideView.cs

@@ -114,7 +114,7 @@ namespace GFGGame
             }
             }
             // _ui.m_rectFrame.target.visible = _ui.m_mask.target.visible;
             // _ui.m_rectFrame.target.visible = _ui.m_mask.target.visible;
             _ui.m_rectFrame.target.visible = false;
             _ui.m_rectFrame.target.visible = false;
-            _ui.m_rectFrameTemp.visible = _ui.m_mask.target.visible;
+            // _ui.m_rectFrameTemp.visible = _ui.m_mask.target.visible;
         }
         }
 
 
         protected override void OnHide()
         protected override void OnHide()

BIN
GameClient/Assets/ResIn/UI/Guide/Guide_fui.bytes