init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user