Hello all,
I want to generate a Dictionary<int, GameObject> in unity c# script but how do I load all prefabs/GameObjects and control the int key of the position in the dictionary of the respective prefabs.
I want to load the prefabs/gameobject from the prefabs folder.
Hope you can help me and show an small example.
I think that code won’t be so much
I am new in Unity
Thank you!