// To remove a GameObject use the function 'Destroy()' Destroy(gameObject);
Destroy(this.gameObject);
Destroy(yourobject)