修改表结构,修改物品详情,增加物品品质描边

This commit is contained in:
2025-10-21 23:15:31 +08:00
parent 4ee5d0885c
commit af7592331b
41 changed files with 595 additions and 305 deletions

View File

@@ -7,6 +7,9 @@ namespace NBF
{
public partial class ItemDetailsPanel : UIPanel
{
public ItemInfo ItemInfo;
// public
protected override void OnInit()
{
base.OnInit();
@@ -14,6 +17,18 @@ namespace NBF
protected override void OnShow()
{
ItemInfo = GetData() as ItemInfo;
// Model.SetModel();
// Instance = Object.Instantiate(prefab);
// Debug.LogError($"预制体:{prefab.name} 实例={Instance}");
// Model.SetModel(Instance);
Quality.SetQuality(ItemInfo.Config.Quality);
Content.Basic.SetInfo(ItemInfo);
Content.Basic.SetInfo(ItemInfo);
Game.Input.OnUICanceled += OnUICanceled;
}