Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

here are any way to restart only one object by code?

$
0
0
HiI have an object that I enable and disable with a button, the problem is that deactivating it also deactivates its scripts (even linerenderer) and it is necessary that when I activate it again the scripts will run again, Im looking for but I can't find a solution, there are any way to restart only one object? I was trying with instantiate function but just create and create more objects with different shapes.

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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