Unity Plug
Dashboard
  • 👋Welcome to Unity Plug
Powered by GitBook
On this page
  • Overview
  • Integration

Welcome to Unity Plug

This document will contain information related to the features and the steps involved in successfully integrating PLUG for Unity game.

Last updated 1 year ago

Overview

PLUG offers a plug-and-play gaming platform that can be integrated by any app or website, providing casual gaming for its users. The inclusion of games and trivia not only boosts user engagement across various apps and websites but also creates an additional avenue for advertising revenue.

Integration

  1. Get the latest version of Plug unitypackage from here

  2. Add the plug button (Btn_Plug) to your UI

  3. Enter the Plug subdomain url created in the Dashboard in the LinkOpener script

  1. In the Player Settings, set Target API level to 34

  1. In Player Settings > Publishing Settings check the following

    1. Custom Main Gradle Template

    2. Gradle Properties Template

  1. Add the following line to mainTemplate.gradle as shown below

implementation 'androidx.browser:browser:1.8.0'
  1. Add the following line to gradleTempalte.properties as shown below

android.useAndroidX=true
  1. Build to device and check the integration

👋
Unity package
mainTemplate.gradle
Page cover image