I have two
I would like the
Lootables scriptable object to have an array of
LootSO so that I can easily add and remove items that can be looted from each particular lootable. That way a fridge could have an array of food item scriptable objects, but a gun safe would not. Easy enough. The part I don’t know is how I could then tweak the amount of that item that can spawn in that particular lootable.
Can I do something like a multidimensional array with one column as a
ScriptableObject, but columns 2 and 3 are
int that represent min and max spawn rate?