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
En esta página del sitio puede ver el video en línea Spawning Objects in Unity [Using Instantiate] de Duración hora minuto segunda en buena calidad , que subió el usuario Press Start 25 septiembre 2018, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 240,675 veces y le gustó 4.5 mil a los espectadores. Disfruta viendo!