Setup

Installation

  • Open WindowPackage ManagementPackage Manager

  • Click plus button and select Install package from git URL

  • Insert https://github.com/playgama/bridge-unity.git

  • Open PlaygamaBridge Setup window and click Add in the Add Bridge WebGL Template section

Config

In the WebGLTemplates/Bridge/playgama-bridge-config.json config file you can set up various identifiers and in-game purchases.

You can see an explanation of the file structure here: Playgama Bridge Config.

Initialization and Build

When you build the project, please enable "Decompression Fallback" in the Unity build settings.

Once the game is loaded, the plugin is already initialized. No additional actions are required.

To ensure the plugin functions correctly, select the appropriate WebGL Template during the build process.

Last updated