using UnityEngine; [System.Serializable] public class Item : MonoBehaviour { public static Item instance { get; private set; } public string itemName; // Name of the item public int itemPrice; // Price of the item public Sprite itemSprite; // Optional: Sprite for the item // Optional: Add more properties as needed, such as description, rarity, etc. }