23 lines
652 B
C#
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;
|
||
|
}
|
||
|
}
|
||
|
}
|