guodong пре 2 година
родитељ
комит
7bc28c96a8
23 измењених фајлова са 253 додато и 95 уклоњено
  1. 15 0
      FGUIProject/assets/Launcher/FullScreenTextUI.xml
  2. 34 0
      FGUIProject/assets/Launcher/LauncherAgreeUI.xml
  3. 0 0
      FGUIProject/assets/Launcher/components/Component2.xml
  4. 4 1
      FGUIProject/assets/Launcher/package.xml
  5. 0 12
      FGUIProject/assets/Login/FullScreenTextUI.xml
  6. 9 9
      FGUIProject/assets/Login/LoginUI.xml
  7. 0 2
      FGUIProject/assets/Login/package.xml
  8. 0 57
      GameClient/Assets/Game/HotUpdate/Views/Login/FullScreenTextView.cs
  9. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Login/LoginView.cs
  10. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Login/RegisterView.cs
  11. 3 3
      GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_Component2.cs
  12. 1 1
      GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_Component2.cs.meta
  13. 6 6
      GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_FullScreenTextUI.cs
  14. 1 1
      GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_FullScreenTextUI.cs.meta
  15. 92 0
      GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_LauncherAgreeUI.cs
  16. 11 0
      GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_LauncherAgreeUI.cs.meta
  17. 74 0
      GameClient/Assets/Game/Launcher/Views/FullScreenTextView.cs
  18. 1 1
      GameClient/Assets/Game/Launcher/Views/FullScreenTextView.cs.meta
  19. BIN
      GameClient/Assets/ResIn/UI/Launcher/Launcher_fui.bytes
  20. BIN
      GameClient/Assets/ResIn/UI/Login/Login_atlas0!a.png
  21. BIN
      GameClient/Assets/ResIn/UI/Login/Login_atlas0.png
  22. BIN
      GameClient/Assets/ResIn/UI/Login/Login_fui.bytes
  23. BIN
      GameClient/Assets/Resources/UI/Launcher/Launcher_fui.bytes

+ 15 - 0
FGUIProject/assets/Launcher/FullScreenTextUI.xml

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="1080,1920">
+  <displayList>
+    <graph id="n1_u67n" name="n1" xy="0,0" size="1080,1920" type="rect">
+      <relation target="" sidePair="width-width,height-height"/>
+    </graph>
+    <component id="n0_u67n" name="txtComp" src="u67n4o" fileName="components/Component2.xml" xy="20,120">
+      <relation target="" sidePair="width-width,height-height"/>
+    </component>
+    <text id="n3_dgkd" name="n3" xy="12,68" size="110,44" group="n6_dgkd" fontSize="32" color="#d69f1a" ubb="true" text="&lt;&lt;返回"/>
+    <text id="n4_dgkd" name="n4" xy="12,71" size="260,44" group="n6_dgkd" fontSize="32" color="#d69f1a" autoSize="none" underline="true" text="             "/>
+    <loader id="n5_dgkd" name="btnBack" xy="12,76" size="192,32" group="n6_dgkd"/>
+    <group id="n6_dgkd" name="n6" xy="12,68" size="260,47"/>
+  </displayList>
+</component>

+ 34 - 0
FGUIProject/assets/Launcher/LauncherAgreeUI.xml

@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="962,531">
+  <displayList>
+    <component id="n0_l55o" name="bg" src="si5ztih" fileName="components/ComBg.xml" xy="0,0" size="962,531">
+      <relation target="n5_l55o" sidePair="height-height"/>
+    </component>
+    <text id="n5_l55o" name="txtContent" xy="114,141" size="734,202" fontSize="30" color="#876e54" vAlign="middle" autoSize="none" autoClearText="true" text="        为了更好地保障您的个人权益,在使用本游戏前,请您务必阅读以下内容,并点击“同意”开始游戏。如果您拒绝,将无法进入游戏。&#xA;&#xA;">
+      <relation target="" sidePair="center-center"/>
+    </text>
+    <component id="n3_l55o" name="btnLeft" src="dhoaw" fileName="components/Button18.xml" xy="88,381">
+      <relation target="n0_l55o" sidePair="bottom-bottom"/>
+      <Button title="拒绝"/>
+    </component>
+    <component id="n4_l55o" name="btnRight" src="dhoax" fileName="components/Button19.xml" xy="530,381">
+      <relation target="n3_l55o" sidePair="top-top"/>
+      <Button title="同意"/>
+    </component>
+    <text id="n6_dgkd" name="txtContent" xy="124,54" size="714,49" fontSize="36" color="#876e54" align="center" vAlign="middle" autoSize="height" autoClearText="true" text="用户协议和隐私政策保护指引"/>
+    <text id="n11_dgkd" name="n11" xy="169,275" size="228,44" group="n14_dgkd" fontSize="32" color="#d69f1a" ubb="true" text="游戏用户协议、"/>
+    <text id="n12_dgkd" name="n12" xy="169,278" size="260,44" group="n14_dgkd" fontSize="32" color="#d69f1a" autoSize="none" underline="true" text="                      "/>
+    <loader id="n13_dgkd" name="loaEventa" xy="169,283" size="192,32" group="n14_dgkd"/>
+    <group id="n14_dgkd" name="n14" xy="169,275" size="260,47" group="n24_dgkd"/>
+    <text id="n15_dgkd" name="n15" xy="393,276" size="228,44" group="n18_dgkd" fontSize="32" color="#d69f1a" text="隐私保护指引、"/>
+    <text id="n16_dgkd" name="n16" xy="393,278" size="190,44" group="n18_dgkd" fontSize="32" color="#d69f1a" underline="true" text="                     "/>
+    <loader id="n17_dgkd" name="loaEventb" xy="397,286" size="182,29" group="n18_dgkd"/>
+    <group id="n18_dgkd" name="n18" xy="393,276" size="228,46" group="n24_dgkd"/>
+    <text id="n19_dgkd" name="n19" xy="612,275" size="196,44" group="n22_dgkd" fontSize="32" color="#d69f1a" ubb="true" text="儿童隐私政策"/>
+    <text id="n20_dgkd" name="n20" xy="614,277" size="199,44" group="n22_dgkd" fontSize="32" color="#d69f1a" underline="true" text="                      "/>
+    <loader id="n21_dgkd" name="loaEventc" xy="616,285" size="192,29" group="n22_dgkd"/>
+    <group id="n22_dgkd" name="n22" xy="612,275" size="201,46" group="n24_dgkd"/>
+    <group id="n24_dgkd" name="n24" xy="169,275" size="644,47"/>
+  </displayList>
+  <relation target="n0_l55o" sidePair="height-height"/>
+</component>

+ 0 - 0
FGUIProject/assets/Login/components/Component2.xml → FGUIProject/assets/Launcher/components/Component2.xml


+ 4 - 1
FGUIProject/assets/Launcher/package.xml

@@ -35,6 +35,9 @@
     <image id="pac9tjn" name="dljm_jdq_3.png" path="/images/"/>
     <image id="pac9tjo" name="dljm_jdq_4.png" path="/images/"/>
     <image id="pac9tjp" name="dljm_jdq_5.png" path="/images/"/>
+    <component id="dgkdtjq" name="LauncherAgreeUI.xml" path="/" exported="true"/>
+    <component id="u67n4n" name="FullScreenTextUI.xml" path="/" exported="true"/>
+    <component id="u67n4o" name="Component2.xml" path="/components/"/>
   </resources>
-  <publish name="" path="../GameClient/Assets/ResIn/UI/Launcher" packageCount="2" genCode="true" codePath="..\GameClient\Assets\Game\Launcher\FairyGUI\GenCode\" extractAlpha="true"/>
+  <publish name="" path="../GameClient/Assets/Resources/UI/Launcher" packageCount="2" genCode="true" codePath="..\GameClient\Assets\Game\Launcher\FairyGUI\GenCode\" extractAlpha="true"/>
 </packageDescription>

+ 0 - 12
FGUIProject/assets/Login/FullScreenTextUI.xml

@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<component size="1080,1920">
-  <displayList>
-    <graph id="n1_u67n" name="n1" xy="0,0" size="1080,1920" type="rect">
-      <relation target="" sidePair="width-width,height-height"/>
-    </graph>
-    <component id="n2_nasr" name="btnBack" src="nasr5m" fileName="components/Button13.xml" xy="99,10" scale="-0.8,0.8"/>
-    <component id="n0_u67n" name="txtComp" src="u67n4o" fileName="components/Component2.xml" xy="20,120">
-      <relation target="" sidePair="width-width,height-height"/>
-    </component>
-  </displayList>
-</component>

+ 9 - 9
FGUIProject/assets/Login/LoginUI.xml

@@ -31,15 +31,15 @@
     <text id="n47_nasr" name="n47" xy="122,1668" size="260,44" group="n49_nasr" fontSize="32" color="#ffdf87" autoSize="none" underline="true" text="                       "/>
     <loader id="n48_nasr" name="loaEventa" xy="122,1673" size="192,32" group="n49_nasr"/>
     <group id="n49_nasr" name="n49" xy="122,1665" size="260,47" group="n61_dgkd"/>
-    <text id="n50_nasr" name="n50" xy="331,1666" size="196,44" group="n53_nasr" fontSize="32" color="#ffdf87" text="隐私保护指引"/>
-    <text id="n51_nasr" name="n51" xy="331,1668" size="208,44" group="n53_nasr" fontSize="32" color="#ffdf87" underline="true" text="                       "/>
-    <loader id="n52_nasr" name="loaEventb" xy="335,1676" size="182,29" group="n53_nasr"/>
-    <group id="n53_nasr" name="n53" xy="331,1666" size="208,46" group="n61_dgkd"/>
-    <text id="n54_nasr" name="n54" xy="524,1665" size="228,44" group="n57_nasr" fontSize="32" color="#fff9f1" ubb="true" text="和[color=#FFDF87]儿童隐私政策[/color]"/>
-    <text id="n55_nasr" name="n55" xy="556,1667" size="208,44" group="n57_nasr" fontSize="32" color="#ffdf87" underline="true" text="                       "/>
-    <loader id="n56_nasr" name="loaEventc" xy="558,1675" size="192,29" group="n57_nasr"/>
-    <group id="n57_nasr" name="n57" xy="524,1665" size="240,46" group="n61_dgkd"/>
-    <group id="n61_dgkd" name="n61" xy="122,1665" size="642,47" group="n58_nasr"/>
+    <text id="n50_nasr" name="n50" xy="341,1666" size="228,44" group="n53_nasr" fontSize="32" color="#ffdf87" text="隐私保护指引"/>
+    <text id="n51_nasr" name="n51" xy="341,1668" size="208,44" group="n53_nasr" fontSize="32" color="#ffdf87" underline="true" text="                       "/>
+    <loader id="n52_nasr" name="loaEventb" xy="345,1676" size="182,29" group="n53_nasr"/>
+    <group id="n53_nasr" name="n53" xy="341,1666" size="228,46" group="n61_dgkd"/>
+    <text id="n54_nasr" name="n54" xy="559,1665" size="196,44" group="n57_nasr" fontSize="32" color="#ffdf87" ubb="true" text="儿童隐私政策"/>
+    <text id="n55_nasr" name="n55" xy="564,1667" size="173,44" group="n57_nasr" fontSize="32" color="#ffdf87" underline="true" text="                   "/>
+    <loader id="n56_nasr" name="loaEventc" xy="566,1675" size="192,29" group="n57_nasr"/>
+    <group id="n57_nasr" name="n57" xy="559,1665" size="199,46" group="n61_dgkd"/>
+    <group id="n61_dgkd" name="n61" xy="122,1665" size="636,47" group="n58_nasr"/>
     <component id="n13_es2q" name="btnAge" src="es2q5i" fileName="components/Button5.xml" xy="848,1649" group="n58_nasr"/>
     <text id="n2_ul4p" name="txtBottom" xy="122,1726" size="676,66" group="n58_nasr" fontSize="24" color="#fff9f1" align="center" text="抵制不良游戏,拒绝盗版游戏。注意自我保护,谨防受骗上当。&#xA;适度游戏益脑,沉迷游戏伤身。合理安排时间,享受健康生活。"/>
     <text id="n59_dgkd" name="txtBottom2" xy="118,1806" size="424,104" group="n58_nasr" fontSize="24" color="#fff9f1" autoSize="none" text="ISBN:978-7-498-10127-3&#xA;审批文号:国新出审[2023]151号&#xD;&#xA;软著登记号:2021SR1161597"/>

+ 0 - 2
FGUIProject/assets/Login/package.xml

@@ -13,8 +13,6 @@
     <component id="q08x10" name="ButtonSendCode.xml" path="/components/"/>
     <component id="q08x11" name="ButtonAgree.xml" path="/components/"/>
     <component id="u67n12" name="RegisterUIBackup.xml" path="/" exported="true"/>
-    <component id="u67n4n" name="FullScreenTextUI.xml" path="/" exported="true"/>
-    <component id="u67n4o" name="Component2.xml" path="/components/"/>
     <image id="ozsv4p" name="dl_anniu_1.png" path="/images/" scale="9grid" scale9grid="53,17,106,34"/>
     <image id="ozsv4q" name="dl_anniu_2.png" path="/images/" scale="9grid" scale9grid="53,17,106,34"/>
     <image id="ozsv4r" name="dl_ditu_1.png" path="/images/"/>

+ 0 - 57
GameClient/Assets/Game/HotUpdate/Views/Login/FullScreenTextView.cs

@@ -1,57 +0,0 @@
-using UnityEngine;
-using FairyGUI;
-using UI.Login;
-
-namespace GFGGame
-{
-    public class FullScreenTextView : BaseWindow
-    {
-        private UI_FullScreenTextUI _ui;
-
-        public override void Dispose()
-        {
-            if (_ui != null)
-            {
-                _ui.Dispose();
-                _ui = null;
-            }
-            base.Dispose();
-        }
-
-        protected override void OnInit()
-        {
-            base.OnInit();
-            packageName = UI_FullScreenTextUI.PACKAGE_NAME;
-            _ui = UI_FullScreenTextUI.Create();
-            this.viewCom = _ui.target;
-            this.modal = true;
-            isfullScreen = true;
-
-            _ui.m_btnBack.onClick.Add(this.Hide);
-        }
-
-        protected override void OnShown()
-        {
-            base.OnShown();
-            string content = (string)viewData;
-            _ui.m_txtComp.m_txtContent.text = content;
-            _ui.m_txtComp.target.scrollPane.ScrollTop();
-            Timers.inst.AddUpdate(Update);
-        }
-
-        protected override void OnHide()
-        {
-            base.OnHide();
-            Timers.inst.Remove(Update);
-        }
-
-        private void Update(object param)
-        {
-            if (Input.GetKeyDown(KeyCode.Escape) || Input.GetKeyDown(KeyCode.Home))
-            {
-                this.Hide();
-            }
-        }
-
-    }
-}

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Login/LoginView.cs

@@ -237,7 +237,7 @@ namespace GFGGame
             }
             if (!string.IsNullOrEmpty(content))
             {
-                ViewManager.Show<FullScreenTextView>(content);
+                FullScreenTextView.Instance.Show(content);
             }
         }
         private void OnBtnAgreeCklick()

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Login/RegisterView.cs

@@ -143,7 +143,7 @@ namespace GFGGame
             }
             if (!string.IsNullOrEmpty(content))
             {
-                ViewManager.Show<FullScreenTextView>(content);
+                FullScreenTextView.Instance.Show(content);
             }
         }
     }

+ 3 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Login/UI_Component2.cs → GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_Component2.cs

@@ -2,14 +2,14 @@
 
 using FairyGUI;
 
-namespace UI.Login
+namespace UI.Launcher
 {
     public partial class UI_Component2
     {
         public GComponent target;
         public GRichTextField m_txtContent;
-        public const string URL = "ui://myoktu7pu67n4o";
-        public const string PACKAGE_NAME = "Login";
+        public const string URL = "ui://mgs5yrnju67n4o";
+        public const string PACKAGE_NAME = "Launcher";
         public const string RES_NAME = "Component2";
         private static UI_Component2 _proxy;
 

+ 1 - 1
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Login/UI_Component2.cs.meta → GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_Component2.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: dbf74c8567d420a459a8899a2d636530
+guid: 7c5ee561b13a85e48b10f397736cd15c
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2

+ 6 - 6
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Login/UI_FullScreenTextUI.cs → GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_FullScreenTextUI.cs

@@ -2,15 +2,15 @@
 
 using FairyGUI;
 
-namespace UI.Login
+namespace UI.Launcher
 {
     public partial class UI_FullScreenTextUI
     {
         public GComponent target;
-        public GButton m_btnBack;
         public UI_Component2 m_txtComp;
-        public const string URL = "ui://myoktu7pu67n4n";
-        public const string PACKAGE_NAME = "Login";
+        public GLoader m_btnBack;
+        public const string URL = "ui://mgs5yrnju67n4n";
+        public const string PACKAGE_NAME = "Launcher";
         public const string RES_NAME = "FullScreenTextUI";
         private static UI_FullScreenTextUI _proxy;
 
@@ -56,14 +56,14 @@ namespace UI.Login
 
         private void Init(GComponent comp)
         {
-            m_btnBack = (GButton)comp.GetChild("btnBack");
             m_txtComp = (UI_Component2)UI_Component2.Create(comp.GetChild("txtComp"));
+            m_btnBack = (GLoader)comp.GetChild("btnBack");
         }
         public void Dispose(bool disposeTarget = false)
         {
-            m_btnBack = null;
             m_txtComp.Dispose();
             m_txtComp = null;
+            m_btnBack = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

+ 1 - 1
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Login/UI_FullScreenTextUI.cs.meta → GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_FullScreenTextUI.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: 60adcd7cc59949a4592667fa0d1a77b9
+guid: 09a94da193200594db411ec0622b7ed7
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2

+ 92 - 0
GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_LauncherAgreeUI.cs

@@ -0,0 +1,92 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.Launcher
+{
+    public partial class UI_LauncherAgreeUI
+    {
+        public GComponent target;
+        public GComponent m_bg;
+        public GTextField m_txtContent;
+        public GButton m_btnLeft;
+        public GButton m_btnRight;
+        public GTextField m_txtContent_2;
+        public GLoader m_loaEventa;
+        public GLoader m_loaEventb;
+        public GLoader m_loaEventc;
+        public const string URL = "ui://mgs5yrnjdgkdtjq";
+        public const string PACKAGE_NAME = "Launcher";
+        public const string RES_NAME = "LauncherAgreeUI";
+        private static UI_LauncherAgreeUI _proxy;
+
+        public static UI_LauncherAgreeUI Create(GObject gObject = null)
+        {
+            var ui = new UI_LauncherAgreeUI();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_LauncherAgreeUI Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_LauncherAgreeUI();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_bg = (GComponent)comp.GetChild("bg");
+            m_txtContent = (GTextField)comp.GetChild("txtContent");
+            m_btnLeft = (GButton)comp.GetChild("btnLeft");
+            m_btnRight = (GButton)comp.GetChild("btnRight");
+            m_txtContent_2 = (GTextField)comp.GetChild("txtContent");
+            m_loaEventa = (GLoader)comp.GetChild("loaEventa");
+            m_loaEventb = (GLoader)comp.GetChild("loaEventb");
+            m_loaEventc = (GLoader)comp.GetChild("loaEventc");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_bg = null;
+            m_txtContent = null;
+            m_btnLeft = null;
+            m_btnRight = null;
+            m_txtContent_2 = null;
+            m_loaEventa = null;
+            m_loaEventb = null;
+            m_loaEventc = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/Launcher/FairyGUI/GenCode/Launcher/UI_LauncherAgreeUI.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a51354416960f144d9c842ed0729a0f5
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 74 - 0
GameClient/Assets/Game/Launcher/Views/FullScreenTextView.cs

@@ -0,0 +1,74 @@
+using UnityEngine;
+using FairyGUI;
+using UI.Launcher;
+
+namespace GFGGame
+{
+    public class FullScreenTextView
+    {
+        private static FullScreenTextView m_Instance = null;
+        /// <summary>
+        /// ľĽŔý
+        /// </summary>
+        public static FullScreenTextView Instance
+        {
+            get
+            {
+                if (m_Instance == null)
+                {
+                    m_Instance = new FullScreenTextView();
+                }
+                return m_Instance;
+            }
+        }
+        private UI_FullScreenTextUI _ui;
+        /// <summary>
+        /// FairyGUI°üĂű
+        /// </summary>
+        private string _packageName;
+
+        public void Dispose()
+        {
+            if (_ui != null)
+            {
+                _ui.Dispose();
+                _ui = null;
+            }
+        }
+
+        public FullScreenTextView()
+        {
+            _packageName = UI_FullScreenTextUI.PACKAGE_NAME;
+            _ui = UI_FullScreenTextUI.Create();
+            UIPackage.AddPackage("UI/" + _packageName + "/" + _packageName);
+            _ui = UI_FullScreenTextUI.Create();
+            _ui.target.MakeFullScreen();
+            _ui.target.AddRelation(GRoot.inst, RelationType.Size);
+
+            _ui.m_btnBack.onClick.Add(this.Hide);
+        }
+
+        public void Show(string content)
+        {
+            GRoot.inst.AddChild(_ui.target);
+            _ui.m_txtComp.m_txtContent.text = content;
+            _ui.m_txtComp.target.scrollPane.ScrollTop();
+            Timers.inst.AddUpdate(Update);
+        }
+
+        public void Hide()
+        {
+            Timers.inst.Remove(Update);
+            _ui.target.RemoveFromParent();
+        }
+
+        private void Update(object param)
+        {
+            if (Input.GetKeyDown(KeyCode.Escape) || Input.GetKeyDown(KeyCode.Home))
+            {
+                this.Hide();
+            }
+        }
+
+    }
+}

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Login/FullScreenTextView.cs.meta → GameClient/Assets/Game/Launcher/Views/FullScreenTextView.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: 992f0e802eff86342b3871b9b566f141
+guid: 70f0b9ff70055444b865731912aa559c
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2

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


BIN
GameClient/Assets/ResIn/UI/Login/Login_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/Login/Login_atlas0.png


BIN
GameClient/Assets/ResIn/UI/Login/Login_fui.bytes


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