How to check if object has been destroyed in game and not spawn it next time run the game


I’d like to ask if there anyway that we can have the game remembered the game object (for more specific - game treasure crate, fallen building,…) that it has been destroyed and doesn’t spawn it in the next session of the game.

Thanks so much!

Use playerprefs or save that information to a data file. When loading the new game check these for that info.