GUI.Box(new Rect(100, 100, 600, 30), "" + Application.dataPath);
After I build this with “web player” mode,it showes “file:/”.
How could I get the path that the “xxxxx.html” placed?
GUI.Box(new Rect(100, 100, 600, 30), "" + Application.dataPath);
After I build this with “web player” mode,it showes “file:/”.
How could I get the path that the “xxxxx.html” placed?
Which is correct.
You can not access the local computer in any way in the webplayer!
file:// System.IO, System.Environment and a few other things are disabled in the webplayer