Keeping Changes to different scenes

Recently, I played this game called Dungeon Simulator, and it saves achievements and money even if you restart or skip scenes. I want to add that feature to some of my projects, but I can’t figure out how to save and keep things even if you restart the scene. How do you do that?

1 Like

Hi @Bladebob20000,

Thanks for the scene reference! To pass data between scenes and scripts, you can use CoSpaces Properties - these are like global variables.

Hope that helps! Let me know if you have any further questions.

Geoff @ TechLeap

Thank you very much! you’ve been a huge help! :grinning: :grinning: :grinning:

1 Like

When I Restart the scene, It repeats the entire thing all over

1 Like

That depends on how you restart the scene - if you restart by clicking the reload button with the CoSpace controls, for me it keeps the CoSpace Properties intact.

If my previous post solves your problem, please mark it as resolved.

Many thanks,
Geoff @ TechLeap