saving state of a scene and then reloading

I was able to get some help on why a game object is respawning even after it was destroyed when I go from one level to another and then back. I tried using playerprefs to save the current state of the level and then load but nothing seems to be working.

If anyone can point me in the right direction on what I need to do and while I hate to ask this unless I’m completely stumped, if anyone can give me the C# code that would also help as well.

Thanks

No one’s going to write your game for you.

What aspect are you struggling with? Share the code you’ve created that doesn’t work and we’ll be happy to help.

Maybe this video can help.
https://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/persistence-data-saving-loading

Thanks for the response you two. Grozzler I can understand that asking for the code is the wrong way to go and I hate to do that but that’s where I’m usually get stuck at. Whenever I ask for code it’s because I honestly don’t know the exact code for it. I know about the documentation but reading the documentation is like buying a code book. There’s stuff in there that’s very helpful and stuff that I already know or I really don’t need. In any case thanks for the reply and thanks for the link HiddenMonk