Unty内嵌浏览器(Embedded Browser V3.0.0)
This asset allows you to embed a full copy of Chromium, the open-source core of Google Chrome, inside your game!
Product Page | Unity Asset Store | Changelog | Get Help
Documentation for ZFBrowser v3.0.0.
Uses CEF 74.1.19+gb62bacf+chromium-74.0.3729.157 / Chromium 74.0.3729.157.
Copyright © 2015-2019 Zen Fulcrum LLC
Quick Start
Basic Browser:
If you are using Linux or OS X read the platform-specific notes.
Import ZFBrowser into your project.
Grab ZFBrowser/Prefabs/Browser (Mouse) and drop it into your scene.
On this new object, set the URL to a site of your choice, such as https://google.com/
Fiddle with your camera so the quad fills most of the view.
Hit play and interact with the web site.
Embedded assets:
Start with the scene above.
Create a folder called BrowserAssets right next to (not inside!) your Assets folder.
Create a file called index.html inside BrowserAssets and put this in it: Hello World!
Set the URL for your browser to localGame://index.html
Hit play.
Congratulations! You now have a browser in your game!
See this section if you want to use the browser in VR.
1