- Home /
Creating and saving prefabs during runtime
How can I create a prefab during runtime? I want to make an inventory with an undefined number of elements. Hence, I want the item slot to be created when I pick up an item which wasn't in my inventory yet. This way when I open my inventory, I won't see a lot of empty inventory slots, but only the ones which are actually filled.
Comment
Your answer
Follow this Question
Related Questions
Saving Runtime Generated GameObjects to Prefabs 2 Answers
How can record the total amount of prefabs that are spawned during runtime? 0 Answers
Create prefab from gameobjects at runtime 2 Answers
Where is Actually The Prefabs Stored Before Instantiation? RAM or Storage(Internal Memory) 2 Answers
assign ui panel to a prefab object ? 2 Answers