Afterparty/Assets/Scripts/ItemData.cs
2026-01-11 17:04:23 +03:00

9 lines
362 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using UnityEngine;
[CreateAssetMenu(fileName = "New Item", menuName = "Inventory/Item")]
public class ItemData : ScriptableObject
{
public string itemName;
public Sprite icon; // Картинка для инвентаря
public GameObject prefab; // (На будущее) Ссылка на модель, если будем выбрасывать
}