My game needs the button to get deleted on click it is called delete button the script but i can’t find a tutorial that is in 2d and deletes the item on click
public GameObject Button;
public void BttnClick() {
Destroy(Button);
}
The rest you should know how to do.