Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

ScriptableObjects: I make lists, should i?

$
0
0
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?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>