瀏覽代碼

删除日志

zhaoyang 3 年之前
父節點
當前提交
09b714aa55

+ 1 - 4
GameClient/Assets/Editor/Excel/CodeBuilder.cs

@@ -375,10 +375,7 @@ namespace GFGEditor
             var keyValue = worksheet[row, 1].Text.Trim();
             foreach (var i in _indexs)
             {
-                if (configArrayName == "GiftBagCfgArray")
-                {
-                    Debug.Log("zoya");
-                }
+
                 var fieldName = _allNames[i - 1];
                 var name = fieldName.Split('#')[0];
                 var value = worksheet[row, i].Text.Trim();

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

@@ -68,10 +68,7 @@ namespace GFGGame
                 {
                     _window = new Window();
                 }
-                ET.Log.Debug("zoya:_window:" + _window + "   contentPane: " + _window.contentPane);
                 _window.contentPane = value;
-                ET.Log.Debug("zoya:modal0:" + _window);
-                ET.Log.Debug("zoya:modal1:" + _window.modal);
                 _window.modal = modal;
             }
         }

+ 0 - 1
GameClient/Assets/Game/HotUpdate/Views/CommonGame/FunctionOpenView.cs

@@ -66,7 +66,6 @@ namespace GFGGame
             _ui.m_ComFunctionOpen.m_txtName.text = cfg.name;
             _ui.m_ComFunctionOpen.m_logIcon.url = ResPathUtil.GetCommonGameResPath(cfg.res);
             _funList.RemoveAt(0);
-            ET.Log.Debug("zoya:" + _funList.Count);
             _ui.m_t0.Play(UpdateFunIcon);
         }
 

+ 4 - 4
GameClient/Assets/Game/HotUpdate/Views/UIView.cs

@@ -225,10 +225,10 @@ namespace GFGGame
         void __removeFromStage()
         {
             OnHide();
-            // if (_descFilePath == ResPathUtil.GetUIPackagePath("Login") || _descFilePath == ResPathUtil.GetUIPackagePath("Loading") || _descFilePath == ResPathUtil.GetUIPackagePath("CreateRole"))//这几个界面关闭后立即释放
-            // {
-            //     Dispose();
-            // }
+            if (_descFilePath == ResPathUtil.GetUIPackagePath("Login") || _descFilePath == ResPathUtil.GetUIPackagePath("Loading") || _descFilePath == ResPathUtil.GetUIPackagePath("CreateRole"))//这几个界面关闭后立即释放
+            {
+                Dispose();
+            }
         }
 
     }

+ 1 - 5
GameClient/Assets/ThirdParty/FairyGUI/Scripts/UI/GObject.cs

@@ -1102,7 +1102,7 @@ namespace FairyGUI
         {
             get
             {
-                if (displayObject != null&&displayObject.gameObject!=null)
+                if (displayObject != null && displayObject.gameObject != null)
                     return displayObject.gameObject.name;
                 else
                     return null;
@@ -1110,12 +1110,8 @@ namespace FairyGUI
 
             set
             {
-                Debug.Log("zoya00:" + displayObject);
-                Debug.Log("zoya11:" + displayObject.gameObject);
-                Debug.Log("zoya22:" + value);
                 if (displayObject != null && displayObject.gameObject != null)
                 {
-                    Debug.Log("zoya33:" + value);
                     displayObject.gameObject.name = value;
                 }
 

+ 0 - 7
GameClient/Assets/ThirdParty/FairyGUI/Scripts/UI/Window.cs

@@ -78,11 +78,8 @@ namespace FairyGUI
         {
             set
             {
-                Debug.Log("zoyaA");
                 if (_contentPane != value)
                 {
-                    Debug.Log("zoyaB");
-
                     if (_contentPane != null)
                         RemoveChild(_contentPane);
                     _contentPane = value;
@@ -105,11 +102,7 @@ namespace FairyGUI
                     }
                     else
                     {
-                        Debug.Log("zoyaC:" + _frame);
-
                         _frame = null;
-                        Debug.Log("zoyaD:" + this.gameObjectName);
-
                         this.gameObjectName = "Window";
                     }
                 }