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
Nesta página do site você pode assistir ao vídeo on-line Spawning Objects in Unity [Using Instantiate] duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Press Start 25 Setembro 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 240,675 vezes e gostou 4.5 mil espectadores. Boa visualização!