How to make multiple copies (clones) of a GameObject. Unity 2019 beginner tutorial.

preview_player
Показать описание
How to clone, copy, duplicate – developers call this "to instantiate objects". In this video we will have a look at how we can clone (instantiate) a spinning coin = be prepared to get rich very fast! Hehe
Just kidding! Cloning is easy and very, very useful in almost all kinds of game development.

····················································································

♥ Subscribe to Oxmond Tutorials:

● Get the scripts here:

● Check Out the Free Asset Packages at the Unity Assets Store:

😷👕 Need a face mask / developer T-shirt? Drop by our merchandise shop and get a 20% DISCOUNT on your first purchase by using the discount code YOUTUBE. Just follow this link:

Asset Store links sponsored by Unity
Any support is truly appreciated so we can keep on making high quality content :)

#Clone #Unity2019 #Instantiate

····················································································

Visit our website for more tips & tricks:

····················································································

Try our Bumperball game:

iOS:

Android:
Рекомендации по теме
Комментарии
Автор

Straight to the point and easy to follow = perfect tutorial! Your enthusiasm is a bonus that makes it even more enjoyable. Thanks for making this. :)

AliveNotDeadmund
Автор

I arrived looking for a solution for another problem but watching your video gave me the clarity to get the solution. Thanks

mundo_tecnologico
Автор

Thank you. You explained not only the cloning. Storing in a container and accessing the elements (here: destroy) are helpful for me.

domme
Автор

I am new to C# and you made this very easy and approachable, thank you! (and I really like your accent too. You are enjoyable to listen to! :D )

PixelWitch
Автор

Thank you for sharing this tutorial. Don't give up making this kind of videos that help us a lot. Cheers from Argentina.

_antaro
Автор

I love these videos you should make more they are better than most of all the others out there

markjoe
Автор

the way ur channel name is in ur script is so cool

EZ-GAZI
Автор

I accidentally populated all my objects within the object so it recursively spammed a tornado blocks. Pretty cool looking not as practical lol

danielwhipple
Автор

best video for instantiation....nice job thanks.

erfanzandi
Автор

Best tutorial man, thank you very much!

taylan
Автор

it works but some of the clones are in the same position
for example, i want it to be first at 15, second at 30, third at 45, etc.
but it is like first at 15, second at 30, third at 15, fourth at 60, fifth at 15, sixth at 15, etc

zectus
Автор

This was exactly what I was searching for. Thanks for helping!

itsAntarkh
Автор

Thx so much, It was exactly what I needed

humadi
Автор

This video was so helpful, thanks so much fam
good looking out.

MalolBlack
Автор

What a pain in the ass program. Is it the same amount of effort to place pieces of road end to end?

StickOnHair
Автор

hey man. how do you make a duplicate of your player main character and turn that duplicate into an enemy sprite that moves in opposite direction of main player shooting at the main player at the same time?

keepdreamin
Автор

if i try to add a script to my prefab, i does not let me asign different gameObjects to it(game pbjects that i specificaly made a public refference for)
And so, i have to constantly have a prefab game Pvjext dragged into my scene for cloning
And brings me lots of limitations
Can you please help me?

ok-owpu
Автор

How do you reference variables on a clone from another gameobject script?

foreignwarren
Автор

A really appreciated video. Thanks a lot, you saved me a lot of time.


Edit : 4:12 a lot of positive energy

PrateekKumar
Автор

why can't we just create a prefab and then drag it into the scene?

error-myut