How do I feed Unity Web Player extern data?

182 Views Asked by At

I am new to using Unity3D, and I am supposed to use it on a web application (which is build with Ruby on Rails).

My problem is that I need to feed it data from my database but I don`t know how to give it extern data.

I`d appreciate any kind of help. :)

1

There are 1 best solutions below

0
mgear On

You can use WWW to make a request on the server and receive data. http://docs.unity3d.com/ScriptReference/WWWForm.html (see the 2nd example)

Note that Unity Webplayer is no longer updated and its already removed from Unity 5.4 ( http://blogs.unity3d.com/2015/10/08/unity-web-player-roadmap/ )