Quantcast
Channel: Questions in topic: "clone"
Viewing all articles
Browse latest Browse all 508

How do you make a clone have the same tag as its original?

$
0
0
I would like to know how do I make sure that every time I instantiate that clone has the exact same tag as its original. In my case I make making obstacles for an infinite runner and have named the original obstacle that is going to be cloned with the tag "WallDeath" . Now this wall death needs to be for every clone as wall death makes the player die once it collides with the obstacles. Basically how do I make a clone with the same tag as the original. Thanks in advance and if you need my already made code for more information just ask.

Viewing all articles
Browse latest Browse all 508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>