Просмотр исходного кода

查阅建档选人物后自动关闭界面

zhaoyang 2 лет назад
Родитель
Сommit
08560d88a8

+ 4 - 3
GameClient/Assets/Game/HotUpdate/Views/Studio/StudioFilingNpcView.cs

@@ -105,9 +105,10 @@ namespace GFGGame
             StorageSProxy.ReqSetClientValue(ConstStorageId.STUDIO_FILING_CHAPTERID, cfg.id).Coroutine();
             EventAgent.DispatchEvent(ConstMessage.FILLING_CHANGE_CHAPTER);
 
-            UI_ListNpcItem item = UI_ListNpcItem.Proxy(obj);
-            item.target.AddChild(_comSelect);
-            UI_ListNpcItem.ProxyEnd();
+            this.Hide();
+            // UI_ListNpcItem item = UI_ListNpcItem.Proxy(obj);
+            // item.target.AddChild(_comSelect);
+            // UI_ListNpcItem.ProxyEnd();
         }
     }
 }