zhaoyang há 3 anos atrás
pai
commit
478e6d985b

+ 4 - 3
GameClient/Assets/Game/HotUpdate/Constant/ConstSortingOrder.cs

@@ -4,8 +4,9 @@ namespace GFGGame
     {
         public const int TOP = 99;
         public const int Guide = 100;
-        public const int Alert = 101;
-        public const int Debug = 102;
-        public const int Float = 103;
+        public const int Modal = 101;
+        public const int Alert = 102;
+        public const int Debug = 103;
+        public const int Float = 104;
     }
 }

+ 4 - 0
GameClient/Assets/Game/HotUpdate/Constant/ConstViewLayer.cs

@@ -18,6 +18,10 @@ namespace GFGGame
         /// </summary>
         public const string GUIDE = "GUIDE";
         /// <summary>
+        /// 等待层
+        /// </summary>
+        public const string MODAL = "MODAL";
+        /// <summary>
         /// 提示层
         /// </summary>
         public const string ALERT = "ALERT";

+ 3 - 0
GameClient/Assets/Game/HotUpdate/Views/BaseView.cs

@@ -28,6 +28,9 @@ namespace GFGGame
                 case ConstViewLayer.GUIDE:
                     ViewManager.AddChildToGuideLayer(viewCom);
                     break;
+                case ConstViewLayer.MODAL:
+                    ViewManager.AddChildToModalLayer(viewCom);
+                    break;
                 case ConstViewLayer.ALERT:
                     ViewManager.AddChildToAlertLayer(viewCom);
                     break;

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Common/ModalStatusView.cs

@@ -14,7 +14,7 @@ namespace GFGGame
             base.OnInit();
             _ui = UI_ModalStatusUI.Create();
             viewCom = _ui.target;
-            layer = ConstViewLayer.ALERT;
+            layer = ConstViewLayer.MODAL;
             isfullScreen = true;
         }