浏览代码

Merge branch 'master' of http://192.168.123.2:3000/fort23/XY001

DESKTOP-FB72PO8\Administrator 4 月之前
父节点
当前提交
63e53ae40c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Assets/Scripts/GameUI/UI/Hero/WidgetIconSkill.cs

+ 2 - 1
Assets/Scripts/GameUI/UI/Hero/WidgetIconSkill.cs

@@ -26,7 +26,8 @@ namespace Fort23.Mono
         private async void OnClickSkillBtn()
         {
             
-            HeroDetailPanel heroDetailPanel = await UIManager.Instance.LoadAndOpenPanel<HeroDetailPanel>(null);
+            //HeroDetailPanel heroDetailPanel = await UIManager.Instance.LoadAndOpenPanel<HeroDetailPanel>(null);
+            HeroDetailPanel heroDetailPanel = UIManager.Instance.GetComponent<HeroDetailPanel>();
             
             // SkillUIComponent skillUIComponent = await UIManager.Instance.CreateGComponent<SkillUIComponent>(Callback);
             heroDetailPanel.skillUIComponent.SetOtherBorder(this);