Tz2/Assets/Zion/Scripts/Excel/Data.cs

26 lines
486 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Data
{
[System.Serializable]
public class Item
{
//public string itemID;
//public string itemName;
//public string itemPrice;
public List<ItemData> itemData;
}
[System.Serializable]
public class ItemData
{
public string item;
}
public class ItemManager : ScriptableObject
{
public Item[] dataArray;
}
}