Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

clone object make a new script

$
0
0
I have an object that I am cloning, when I clone it, they share the one script. Can I clone an object but make it run a new script with but with the same internals? For example, I have a box, I click and a new box spawns next to it, but they are losing integrity, when the integrity reaches 0 they despawn. When the original reaches 0, both the copy and the original dies, how can I stop this happening?

Viewing all articles
Browse latest Browse all 171066

Trending Articles



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