[Webplayer] how to pass a string of data on the end of an url to the webplayer

Hi,

say I have www.mysite.com/webplayer.html

And generate the following url:

www.mysite.com/webplayer.html?mystringofusefuldata

  • is it possible to pass mystringofusefuldata to the webplayer for parsing within? if so, how? I would like to use a scheme like this to drive user-generated content via URLs.

Please post any examples or information if you have it - thanks guys.

Bumpity bump badum tish.

Or way for me to somehow pass a link to the webplayer page which contains the number of an entry in a msql database so it can load a string from the mysql database. Sharing user content?

I think you can grab url params in javascript and then send them to Unity.
http://snipplr.com/view/799/

Oh wow, thank you!

Is this actually js as in web js code or unity js code? Assuming web… late here!

Not Unityscript :slight_smile: