Table of Contents

Alacrity

Alacrity is a high performance WebView for Unity which supports Windows. It has an easy-to-use API that enables you to build custom UIs for your game using HTML/CSS/JS, load websites, PDFs, play videos, etc using Chromium.

Features

  • Custom Chromium Embedded Framework build which enables high performance rendering using your GPU, allowing 144fps, 240fps, 360fps or higher rendering.

  • Easily create a high performance UI for your game using existing web technologies (e.g. React, Angular, etc) or even existing websites.

  • Custom API to query focused HTML elements in C#, allowing you to ignore mouse clicks or keyboard input when web UI is focused.

  • Communicate messages back and forth between the rendered webpage and your Unity C# code.

  • Embed websites like leaderboards, play videos, view PDFs, and much more directly in your game.

  • ZERO alloc update loop ensuring no garbage collection spikes. Great care has been taken to ensure no allocations are made during the core updates so you can freely propagate messages back and forth without incurring GC spikes.

  • Supports both Mono and IL2CPP builds.


Limitations

  • Alacrity currently ONLY supports Windows.
  • H.264 codec is NOT ENABLED. Please reach out if you'd like to learn how to enable it.
  • As Alacrity uses the Chromium Embedded Framework, you must adhere to its License.

Get Support

The best and fastest way to get support is to join the Alacrity Discord.

Alternatively, please email alacrity@kevinbedi.com and we will reply back as soon as possible.