I tried and it works well.
So is it possible to do with multiple names.
- In JSON, I set a variable in text like [gameState = 10]
- I retrieved name and value from JSON.
- I used the script to set value to runtime.globalVars.gameState = 10
- Could we dynamic the gameState then we can set value for another variables?(gamestate001, gameState002,..etc.)