I'm trying to pass dynamic variable to C3 game that is embedded within a html webpage (built upon a PHP framework). However, I can't seem to access the LocalStorage variable when the game loads even after I have performed the following:
On Start of Layout - LocalStorage check if item exists
LocalStorage - On Item exists: Access LocalStorage.ItemValue
However, this doesn't seem to be working and I can't seem to retrieve the LocalStorage variable that I am trying to access.
Appreciate if anyone can guide me on this!