WebPontis – the bridge between Unity and the Web.
It provides a robust event-based communication system that works in both WebGL and WebGPU builds, allowing Unity to exchange messages with HTML elements, JavaScript code, iframes, or even external browser extensions.
The system is fully customizable, supports multiple message channels (postMessage, dispatchEvent, iframe messaging), and is compatible with multi-frame setups.
Integration is straightforward - just add a single MonoBehaviour or call one line of code. Everything else is handled automatically, including message parsing, type conversion, and dispatch logic.
Documentation: https://ievo.games/WebPontis/Downloads/WebPontis.pdf
Examples: https://ievo.games/WebPontis/Examples
*“WebPontis” (Latin-inspired): WebBridge — a link between Unity and the Web.