/UnityCef

A web browser component for Unity

Primary LanguageC#GNU Lesser General Public License v3.0LGPL-3.0

UnityCef

A web browser component for Unity

GitHub release Github Releases Github commits (since latest release) Donate

Usage

  1. Download and import the latest release package.
  2. Add the WebBrowser component to an object.
  3. WebBrowser.Texture is a Texture2D 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

  1. Clone or download the repository.
  2. Optional: Copy cake/vars.sample.cake to cake/vars.cake and edit values (most importantly python27_path).
  3. 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