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

Change tag on clones

$
0
0
Hi together, I have five identical Mercedes cars which drives on five different path at the same time. I want to change the tag of the car: when its defined on path1, the tag of the car should be "car1", when its defined on path2, the cars tag should change to "car2" and so on. The five cars are clones of the same prefab car. The script ist attached to the prefab car. Is it possible to change the tag? Because my problem is: when i change the tag of one car, every tag is changing because its the same prefab. (Above It is just a simple version of my problem, my unity game has 10 diffrent cars and 20 paths, and 20 trials, changing it manually is not possible.)

Viewing all articles
Browse latest Browse all 508

Trending Articles



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