Do I have to apply webstorage to each layout or just one for it to work? Also, webstorage needs wifi right?
Webstorage is completelly offline despite his name.
It is like a global value, so applying once and it stays for as long as it is not erased
Develop games in your browser. Powerful, performant & highly capable.
Once you've dragged the webstorage into your project, then you can access it on any layout as long as your layouts connect to a event sheet. as Aphrodite says, it saves to the players device and not on the web. So no internet needed for it to work.
Ok thank you DUTOIT and — Just to clarify, I only need it in one layout event sheet and it will work for all event sheets?
Webstorage is a global object, which means that there is no need to insert it on layout.
If you want to use it inside one event sheet, just use it directly