The simple and efficient way to create bunch of game items ?

So I have some players, dozens of items, and some weapon type

I create scriptable object script for each object type

Then create item for each scriptable object

After that, I need to drag & drop all scriptable object into prefab (List<>) to store game objects.

I can’t imagine how someone manage big and complex game with this step

Is this process can be simplified ?

Why not unity get a game object by file name in Assets ? or is there are resource feature to store all game object reference with key ? so I can get the object with it’s key

I’ll move your post to the scripting forum, this isn’t a 2D specific post.

The beauty of the editor is how much you can extend it and automate certain, if not all tasks.

What you’re wanting to do it learn editor scripting. It’s worth looking up some tutorials on the matter, perusing the UnityEditor namespace in the scripting API, particularly classes such as AssetDatabase, Editor and EditorWindow.

It’s a topic about as deep as making the actual game play itself, so definitely worth exercising some patience as you learn.

1 Like

Or Addressables will have something similar.