Skip to content
Sergei edited this page May 7, 2026 · 2 revisions

Setup

Integration steps

Use this order for a new integration:

  1. Install the Bridge package for your engine.
  2. Create or update playgama-bridge-config.json in the config editor.
  3. Wait for Bridge initialization before calling SDK APIs.
  4. Read platform.language and apply localization.
  5. Load saved progress with storage.get(...).
  6. Send platform.sendMessage('game_ready') when the first playable frame is ready.
  7. Add interstitial ads at natural pauses, such as level transitions or game over.

Installation

  • Open WindowPackage ManagementPackage Manager
  • Click the plus button and select Install package from git URL
  • Enter https://github.com/playgama/bridge-unity.git
  • Open PlaygamaBridge Setup and click Add in the Add Bridge WebGL Template section

Config

WebGLTemplates/Bridge/playgama-bridge-config.json stores SDK settings: platform identifiers, in-game purchases, ad placements, and more. Use the config editor to create or update it.

Initialization and Build

The Unity package initializes Bridge automatically while the game loads. No extra initialization call is required.

Select the Bridge WebGL Template before building.

Clone this wiki locally