destroy gameobject unity
Code Example - destroy gameobject unity
Destroy(this.gameObject);
unity destroy self
Destroy(gameObject);
how to destroy an object in unity
Destroy(gameObject);
how to destroy a gameobject in csharp
Destroy(gameObject); // destroys the game object attached to the script
unity destroy
//Destroys after 5 seconds
Destroy(gameObject, 5F);