Уничтожить gameObject Unity
Destroy(this.gameObject);
A guy using his dad's PC
Destroy(this.gameObject);
//Destroys after 5 seconds
Destroy(gameObject, 5F);