GET variable

Hi!

if Unity is called with parameters (e.g the logged on user in PHP), how can I retrieve this variable?
Couldnt find it in the WWW class, so I thought I’d ask.

E.g: Unity Player.unityweb?userid=5

Thanks.

Application.srcValue

Thanks Joachim for your patience :slight_smile: Couldnt conclude that from the docs myself.

Hi!

When the Application.srcValue is “test.unityweb?userid=1&gender=1”,
how do I explode this string so that I can retrieve the values
of each variable?

EDIT: Crap, I didn’t search too well. The answer is here
http://forum.unity3d.com/viewtopic.php?t=4981&highlight=srcvalue

I’d like to see some kind of less hackish way though :slight_smile: