CapersProject/Assets/02.Scripts/Item/ItemDropTableSo.cs
2024-06-04 03:26:03 +09:00

23 lines
652 B
C#

using System.Collections.Generic;
using BlueWater.Interfaces;
using UnityEngine;
namespace BlueWater.Items
{
[CreateAssetMenu(fileName = "ItemDropTable", menuName = "ScriptableObjects/ItemDropTable")]
public class ItemDropTableSo : ScriptableObject, IDataContainer<ItemDropTable>
{
[field: SerializeField]
public List<ItemDropTable> ItemDropTableList { get; private set; }
public List<ItemDropTable> GetData()
{
return ItemDropTableList;
}
public void SetData(List<ItemDropTable> itemDropTableList)
{
ItemDropTableList = itemDropTableList;
}
}
}