2.9.16
Coherent GT Unity3D Guide
A modern user interface library for games
Introduction

Coherent GT is a modern user interface middleware solution that allows you to integrate HTML pages built with CSS and JavaScript in your game.

Each HTML page is represented by a Coherent.UIGT.View object. The Coherent.UIGT.View is wrapped by a Coherent GT View component that allows you to add views to to your scenes easily.

You can perform operations on the page via the View, such as resizing, navigating to a different URL, sending input events, executing custom JavaScript code and so on.

Views can be created both by adding a Coherent GT View component to a game object in the Unity scene or attaching them through code.

You can customize the View via different initialization parameters, such as width, height, initial URL, etc.

View notifications, for example when the URL is changed, are received via the ViewListener class. The ViewListener is the class that receives such notifications for a specific view - when the URL was changed, the page you're trying to open requires authentication details, etc.