Different localStorage

Hi,

just wondering if it is possible to have different localStorage elements on different scenes.
I would like to save a certain localStorage (score) to scene 1 and another localStorage (another score) to scene 2.
For now I can't find a solution. If it is indeed possible, please give me a hint.
TIA

Sure… can be done with a prefix to your keys (like the scene id) when saving to local storage.

There is also a helper for these tasks you can find here:

3 Likes

Thank you, I'll look into it.