In this tutorial I explain how to write a C# script that will allow you to spawn obstacles onto your scene using prefabs and instantiate.
SUBSCRIBE: https://bit.ly/2Js78lE
============
In this video I will show you:
1:00 Adding a CircleCollider2D, Rigidbody2D
1:37 Adding a script to move the game objects
3:40 Removing objects from the scene once they leave the screen
5:00 Creating a prefab
5:40 Adding a script to spawn the objects
6:30 Using instantiate
8:25 Using Coroutines and IENumerator
COPY & PASTE SOURCE CODE:
https://pressstart.vip/tutorials/2018...
MOBILE JOYSTICK VIDEO:
https://pressstart.vip/tutorials/2018...
SCREEN BOUNDARIES CODE:
https://pressstart.vip/tutorials/2018...
MORE TUTORIALS:
https://pressstart.vip/unity-tutorials
On this page of the site you can watch the video online Spawning Objects in Unity [Using Instantiate] with a duration of hours minute second in good quality, which was uploaded by the user Press Start 25 September 2018, share the link with friends and acquaintances, this video has already been watched 240,675 times on youtube and it was liked by 4.5 thousand viewers. Enjoy your viewing!