using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// 物品,可以加Buff、提升属性、技能附加效果 /// public class ItemBase : MonoBehaviour { public virtual string name { get; } public virtual string iconPath { get; } protected int m_Count = 1; public int count { get { return m_Count; } } public void SetCount(int c) { m_Count = c; } public virtual void Update() { } }