|
|
@@ -8,6 +8,7 @@ using Fort23.UTool;
|
|
|
using GameLogic.Hero;
|
|
|
using OfficeOpenXml.FormulaParsing.Excel.Functions.Logical;
|
|
|
using UnityEngine;
|
|
|
+using UnityEngine.UI;
|
|
|
using Utility;
|
|
|
|
|
|
namespace Fort23.Mono
|
|
|
@@ -548,11 +549,13 @@ namespace Fort23.Mono
|
|
|
{
|
|
|
ItemWidgetType1 itemWidgetType1 =
|
|
|
await UIManager.Instance.CreateGComponentForObject<ItemWidgetType1>(ItemWidgetType1Game, null,
|
|
|
- ItemRoot);
|
|
|
+ ItemRoot, isInstance: true);
|
|
|
itemWidgetType1.CustomInit(itemConfig.associateVlaue[0],
|
|
|
faBaoInfo.FabaoPowerupConfig.PromotePieceNum[itemConfig2.quality - 1]);
|
|
|
itemWidgetType1s.Add(itemWidgetType1);
|
|
|
}
|
|
|
+
|
|
|
+ LayoutRebuilder.ForceRebuildLayoutImmediate(ItemRoot);
|
|
|
}
|
|
|
|
|
|
private async CTask CreatFaBaoSkillWidget(FaBaoInfo faBaoInfo)
|