修改
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using Fantasy.Async;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public class PlayerItemRodView : PlayerItemView
|
||||
{
|
||||
public RodAsset RodAsset;
|
||||
|
||||
public override async FTask InitShow(PlayerItem item)
|
||||
{
|
||||
Item = item;
|
||||
var itemConfig = Game.Tables.TbItem.Get(Item.ConfigID);
|
||||
RodAsset = itemConfig.InstantiateAndComponent<RodAsset>(SceneSettings.Instance.GearNode, Vector3.zero,
|
||||
Quaternion.identity);
|
||||
|
||||
// await Rod.InitRod(Item);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user