Browse Source

打开组界面把设置功法界面打开

lzx 3 weeks ago
parent
commit
fddcfb1dd1

+ 6 - 0
Assets/Scripts/GameUI/UI/MainPanel/MainPanel.cs

@@ -49,6 +49,12 @@ namespace Fort23.Mono
             return base.AsyncInit(uiData);
         }
 
+        public async override CTask Show()
+        {
+            await base.Show();
+            SkillSelectPanel.OpenSkillSelectPanel();
+        }
+
         private async void Bnt_shengShi_onClick()
         {
             // EventSystemManager.Instance.DetectRandomEvents();

+ 7 - 7
Assets/Scripts/GameUI/UI/RewardsPanel/WidgetItem.cs

@@ -87,13 +87,13 @@ namespace Fort23.Mono
                 // txtLv.text = itemInfo.eqInfo.level + "级";
                 txtLv.text = LanguageManager.Instance.Text(161, itemInfo.eqInfo.level);
             }
-            else if (itemInfo.config.itemTyp == 5)
-            {
-                heroShards.SetActive(true);
-                icon.gameObject.SetActive(false);
-                heroShardsIcon.icon_name = itemInfo.config.icon;
-                lvObj.SetActive(false);
-            }
+            // else if (itemInfo.config.itemTyp == 5)
+            // {
+            //     heroShards.SetActive(true);
+            //     icon.gameObject.SetActive(false);
+            //     heroShardsIcon.icon_name = itemInfo.config.icon;
+            //     lvObj.SetActive(false);
+            // }
             else
             {
                 icon.icon_name = itemInfo.config.icon;