DEV Community

GeneralistProgrammer
GeneralistProgrammer

Posted on

Unity instantiate prefab or gameobjects

So if you have been working on your game. You must have run into this pesky little issue where you need to sometimes spawn enemies, bullets and whatever else to make your game more fun and exciting.

Well to make this happen you will need to understand object pooling, prefab instantiation, and game object to prefab conversion in unity.

If you need to know more, I wrote a full blog post here on how to do all of this.

https://generalistprogrammer.com/unity/unity-2d-instantiate-prefab-at-position/

Top comments (0)