I’m having trouble figuring this out i want to destroy the instantiated clone after I’ve stopped holding down a button. So i can improve performance and not have empty clones laying around in the scene/game
1 Answer
1Why don’t you have a script on the clones?
function Start () {
//Destroy after 3 secs.
Destroy(gameObject,3);
}
I've tried this approach but they don't get destroyed
– Charles_Gams