Load a HTML Page into a frame in a browser


I have a web page made up of two frames, Unity project in one frame and html pages in the other. I would like my Unity project to load HTML pages into the second frame. This will stop my Unity project reloading with every page load.

How would I go about this?

Thanks in advance.


You can make javascript calls from within Unity and use these to load a webpage in the other frame using the HTML DOM. There are plenty of examples of using JS to load a page in a frame, for instance this one. On the Unity side, here's a page explaining both the ExternalCall and ExternalEval (I suggest you check out the script reference for both).

Good luck.