Answers for "destroy gameobject after time unity"

C#
1

how to destroy a gameobject after some hits in unity 3d

void OnCollisionEnter(Collision other)  {      hit += 1;      checkhit();  }
Posted by: Guest on April-28-2020
0

how to destroy a gameobject after a sertain amount of seconds

Destroy(objReference, timerInSeconds);
Posted by: Guest on December-02-2020

Code answers related to "destroy gameobject after time unity"

C# Answers by Framework

Browse Popular Code Answers by Language