Pass GET vars to Unity

Hi Guys,

I’ve of course had a search, but have not found any useful info…

Does anyone have any suggestions for the best way to pass GET vars into a unity web player app?

Is there a direct way inside the app, or do you need to write something using say php, that can pass the vars via the object/embed tags?

Thanks!!!

Jason

you can fetch them directly actually :slight_smile:

Here is an interesting article on the matter Loading and manipulating images in Unity3D which was mentioned on http://forum.unity3d.com/viewtopic.php?t=56099

thanks, I was hoping there was a direct way!

Cheers!!

^^ actually that’s not entirely direct… it requires a combo of my suggestions, it looks like you need to write the get vars (query string) into the object/embed src attribute, rather than the app being able to pull them directly from the browser