I am trying to pass a username from the browser to the Unity game in Native Client. In the standard webplayer, I accomplished this by appending the username to the html path and reading it using Application.srcValue() as suggested here, but this doesn’t work in NaCl.
The documentation says to use the following function call:
Can someone provide more details and/or sample code for both the webpage and the corresponding Unity? I have done a fair amount of Unity development but I’m a JS newbie.