How to make Gameobject come back on button press.

Is there a way to make a destroyed object comeback once it has been destroyed on a button press?

Thanks!

Hi @itsdandd

“Is there a way to make a destroyed object comeback once it has been destroyed on a button press?”

Well this has nothing to with 2D graphics, you should have asked this maybe in general scripting?

But anyway - I don’t think so, if you have already deleted your gameObject, you can’t bring it back… either don’t delete it and just disable it or re-instantiate it from a prefab.

1 Like