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

C#
16

destroy gameobject unity

Destroy(this.gameObject);
Posted by: Guest on March-16-2020
0

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

Code answers related to "how to destroy a gameobject after some hits in unity 3d"

C# Answers by Framework

Browse Popular Code Answers by Language