remove gameobject unity 2d code example Example: unity remove gameobject // To remove a GameObject use the function 'Destroy()' Destroy(gameObject);