|
I am embedding a Unity game in a web page and the path to the game is different than the path to the html file of the web page. The game loads assets at run-time and is looking for these assets in the directory of the web page. Is there a way to pass in or set the base path of the game so that it will look in the proper place for its assets? Basically, I am looking for the Unity equivalent of the Flash technique of creating the param "base" and passing it into swfobject.embedSWF.
(comments are locked)
|
|
See the "src=foo.unity3d" and the src PARAM tag in the generated HTML. Change those.
(comments are locked)
|

why don't you test if it works out of the box or not.
@s00tsprt, did you ever determine if it works out-of-the-box?