Spawning Objects in Unity [Using Instantiate]

Publié le: 25 septembre 2018
sur la chaîne: Press Start
240,675
4.5k

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Spawning Objects in Unity [Using Instantiate] durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Press Start 25 septembre 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 240,675 fois et il a aimé 4.5 mille téléspectateurs. Bon visionnage!