19 lines
484 B
C#
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;
|
|
}
|
|
}
|
|
} |