修改
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using Fantasy.Async;
|
||||
using Fantasy.Entitas;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
/// <summary>
|
||||
/// 玩家物品视图组件
|
||||
/// </summary>
|
||||
public abstract class PlayerItemView : Entity
|
||||
{
|
||||
public PlayerItem Item { get; protected set; }
|
||||
|
||||
|
||||
public abstract FTask InitShow(PlayerItem item);
|
||||
|
||||
// public async FTask InitShow()
|
||||
// {
|
||||
// // Item = GetParent<PlayerItem>();
|
||||
// var itemConfig = Game.Tables.TbItem.Get(Item.ConfigID);
|
||||
// // Rod = itemConfig.InstantiateAndComponent<FRod>(SceneSettings.Instance.GearNode, Vector3.zero,
|
||||
// // Quaternion.identity);
|
||||
//
|
||||
// // await Rod.InitRod(Item);
|
||||
// }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user