I'm trying to set a global variable to save via "LocalStronge", so it keeps the value even after you exit and re-open the game. I thought I finally got it working, but when the layout loads, the value appears as as "NaN". I've seen that this means "Not a Number". I'm not sure how to fix this and it's really worrying. It's the last hurdle to finishing my game.
For clarification, the global variable in question I'm trying to save is number, like as in displaying the number of coins you have etc.
If anyone know how to fix this I'd be really grateful.
Thanks in advance.