~Hey friends, in this Unity Tutorial you’ll learn how to spawn objects or instantiate pretty much any GameObject or Prefab you’d like. If you can make it in the Unity Heiarchy, you can make it through script.
By the end, you’ll have a Spawner Prefab that can create objects on a set timer, by Trigger/Event/Any manual calling, add effects such as audio and particles (or any animation you can make, good luck beating mine), how to randomize what objects you instantiate from a list, and more.
Once you learn how to Instantiate GameObjects, make sure you’re spawning efficiently – check out my Object Pooling tutorial as the next step to this.
Object Pooling Tutorial: https://youtu.be/nf3gXt5m3Fc
0:00 Summary of Video
0:22 Setting up Spawner GameObject
1:01 Script Properties
1:21 The many types of Instantiate
4:41 Spawn on a set Timer
6:22 Calling SpawnObject from other Scripts
7:12 Adding Spawn Effects
8:18 Randomize Spawn List
9:49 Organize Properties
9:59 Plz Like&Subscribe Ty
➤Want to make video games? Start with my tutorial Playlist: https://www.youtube.com/playlist?list=PLhrayuv80FeWPrco0bqfYSHDifVB2PXpW
➤5 Minute Tutorial Series: https://www.youtube.com/playlist?list=PLhrayuv80FeVbdfce8bQLwe-GxXf6LGtZ
➤LIKE the video if you enjoyed, it really helps the channel!
➤Don’t forget to SUBSCRIBE for all the upcoming content.
➤Join the new DISCORD SERVER: https://discord.gg/pMrMshh
We have channels to help you with your problems!
Thanks for watching.
#bmo #unity #tutorial
Youtube original link