UnityCef
UnityCef copied to clipboard
A web browser component for Unity
UnityCef
A web browser component for Unity
Usage
- Download and import the latest release package.
- Add the
WebBrowser
component to an object. -
WebBrowser.Texture
is aTexture2D
of the rendered web content.
NOTE: UnityCef only works with .NET 4.x Equivalent
as scripting runtime version. If you get a lot of errors about not finding stuff this might be the problem.
Building
Requirements
- Python 2.7 (required for building cefglue)
- MSBuild (required for building the companion app and library)
- Unity (required for building the package)
Steps
- Clone or download the repository.
- Optional: Copy
cake/vars.sample.cake
tocake/vars.cake
and edit values (most importantlypython27_path
). - Run
build.ps1 -target unity-package
.
If everything worked correctly you should now have a UnityCef-X.Y.HASH.unitypackage
file in your directory.
Donate
Please consider donating a bit to keep this and other projects going. It would mean a lot to me.
Credits
This project uses
- Chromium Embedded Framework (https://bitbucket.org/chromiumembedded/cef)
- cefglue (https://gitlab.com/xiliumhq/chromiumembedded/cefglue)
- SharpZipLib (https://github.com/icsharpcode/SharpZipLib)