guodong преди 3 години
родител
ревизия
01218cefcd

+ 1 - 1
FGUIProject/assets/Launcher/LauncherUI.xml

@@ -15,7 +15,7 @@
     <text id="n5_l55o" name="txtVersion" xy="870,32" size="200,42" fontSize="30" color="#ffffff" align="right" autoSize="none" strokeColor="#333333" text="v 1.0.0">
       <relation target="" sidePair="left-left,top-top"/>
     </text>
-    <image id="n6_lqt1" name="n6" src="lqt1a" fileName="imagesExport/LOGO.png" xy="39,80"/>
+    <image id="n6_lqt1" name="imgLogo" src="lqt1a" fileName="imagesExport/LOGO.png" xy="39,80"/>
     <text id="n8_lqt1" name="txtBottom" xy="40,1629" size="1000,71" fontSize="26" color="#eaeaea" align="center" autoSize="none" text="抵制不良游戏,拒绝盗版游戏。注意自我保护,谨防受骗上当。&#xA;适度游戏益脑,沉迷游戏伤身。合理安排时间,享受健康生活。">
       <relation target="" sidePair="bottom-bottom"/>
     </text>

+ 3 - 0
GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_LauncherUI.cs

@@ -11,6 +11,7 @@ namespace UI.Launcher
         public GProgressBar m_progressBar;
         public GTextField m_txtDescLeft;
         public GTextField m_txtVersion;
+        public GImage m_imgLogo;
         public GTextField m_txtBottom;
         public GTextField m_txtDescRight;
         public const string URL = "ui://mgs5yrnjl55o1";
@@ -64,6 +65,7 @@ namespace UI.Launcher
             m_progressBar = (GProgressBar)comp.GetChild("progressBar");
             m_txtDescLeft = (GTextField)comp.GetChild("txtDescLeft");
             m_txtVersion = (GTextField)comp.GetChild("txtVersion");
+            m_imgLogo = (GImage)comp.GetChild("imgLogo");
             m_txtBottom = (GTextField)comp.GetChild("txtBottom");
             m_txtDescRight = (GTextField)comp.GetChild("txtDescRight");
         }
@@ -73,6 +75,7 @@ namespace UI.Launcher
             m_progressBar = null;
             m_txtDescLeft = null;
             m_txtVersion = null;
+            m_imgLogo = null;
             m_txtBottom = null;
             m_txtDescRight = null;
             if(disposeTarget && target != null)

+ 1 - 0
GameClient/Assets/Game/Launcher/Views/LauncherView.cs

@@ -54,6 +54,7 @@ namespace GFGGame
             _ui.target.MakeFullScreen();
             _ui.target.AddRelation(GRoot.inst, RelationType.Size);
             _ui.m_txtVersion.text = Application.version;
+            _ui.m_imgLogo.visible = LauncherConfig.netType != LauncherConfig.EnumNetType.TEMP;
         }
 
         /// <summary>

BIN
GameClient/Assets/Resources/UI/Launcher/Launcher_fui.bytes