Initial commit
This commit is contained in:
12
Assets/Scripts/Item.cs
Normal file
12
Assets/Scripts/Item.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
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.
|
||||
}
|
||||
Reference in New Issue
Block a user