I'm creating a database of items for my game. ScriptableObjects are great for that. Now with some other systems, that touch the handling of items, i happen to require a list of all items i created as scriptable objects.
So i created a ScriptableObject that contains a list of scriptable objects.
And it's not the first time i did that.
It feels like using an anti-pattern.
What i actually want is a "get me all of that type" function. AssetDatabase is Editor only. Also with things like...
ScriptableObjects: I make lists, should i?
So i created a ScriptableObject that contains a list of scriptable objects.
And it's not the first time i did that.
It feels like using an anti-pattern.
What i actually want is a "get me all of that type" function. AssetDatabase is Editor only. Also with things like...
ScriptableObjects: I make lists, should i?