15 lines
318 B
C#
15 lines
318 B
C#
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
[CreateAssetMenu(fileName = "ItemData", menuName = "Dialogue/ItemData")]
|
||
|
|
public class ItemData : ScriptableObject
|
||
|
|
{
|
||
|
|
public string itemId;
|
||
|
|
public string itemName;
|
||
|
|
|
||
|
|
[TextArea(2, 5)]
|
||
|
|
public string description;
|
||
|
|
|
||
|
|
public Color itemColor = Color.white;
|
||
|
|
public int maxStack = 99;
|
||
|
|
}
|