zhaoyang 3 роки тому
батько
коміт
ba21923541

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

@@ -79,11 +79,11 @@ namespace GFGGame
         protected override void OnHide()
         {
 
-            // if (_sceneObject != null)
-            // {
-            //     GameObject.Destroy(_sceneObject);
-            //     _sceneObject = null;
-            // }
+            if (_sceneObject != null)
+            {
+                GameObject.Destroy(_sceneObject);
+                _sceneObject = null;
+            }
             base.OnHide();
         }
         protected override void RemoveEventListener()