TigerProject/Assets/Scripts/Shop/ItemData.cs
2026-01-28 19:43:27 +09:00

18 lines
328 B
C#

using UnityEngine;
public enum ItemType
{
Heal,
SpeedUp,
AttackSpeed
}
[CreateAssetMenu(fileName = "New Item", menuName = "Shop/Item")]
public class ItemData : ScriptableObject
{
public string itemName;
public int price;
public Sprite icon;
public ItemType itemType;
public float effectValue;
}