修改表结构,修改物品详情,增加物品品质描边
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user