Files
TheVVaS-Assets/RPGCoreCommon/DropTable/Runtime/DropTableSO.cs
T
2026-04-25 23:37:10 +02:00

19 lines
484 B
C#

using System.Collections.Generic;
using UnityEngine;
namespace RPGCoreCommon.DropTable
{
[System.Serializable]
[CreateAssetMenu(menuName = "RPG Core/Drop Table")]
public class DropTableSO : ScriptableObject
{
[SerializeField] internal DropTableGroup group;
public Dictionary<Object, int> Get()
{
var result = new Dictionary<Object, int>();
group.Get(ref result);
return result;
}
}
}