In this video we see how to use the Instantiate function to create GameObjects and Prefabs at runtime in Unity.
The Instantiate function can be called in any script that inherits from MonoBehaviour (that means any default script that you create in Unity) and has several overloads, that means that you can call the Instantiate function in different ways passing different parameters to it.
____________________________________________________________
PORTFOLIO: https://gamedevtraum.com/en/portfolio...
CONTACT: / gamedevtraum
LINKEDIN: / gamedevtraum
____________________________________________________________