Files
MuHua-UIElements/Assets/ModuleCore/ModuleItem/DataItem/DataItem.cs
T
2025-09-17 17:44:00 +08:00

17 lines
333 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 物品
/// </summary>
public class DataItem {
/// <summary> 名字 </summary>
public string name;
/// <summary> 图片 </summary>
public Sprite sprite;
/// <summary> 堆叠数量 </summary>
public virtual int MaxStack => 999;
}