Unity Cross Platform SDK Integration Guide

General

This guide is for developers who want to monetize Windows/Android/IOS/Others Unity applications with PacketSDK.

Integrating the PacketSDK into an application is the first step toward earning revenue. Once you've integrated the SDK, you will start seeing devices data and revenue in PacketSDK Dashboard in 24 hours.

This document will walk you through the steps needed to be taken inorder to properly integrate PacketSDK into your application.

Prerequisites

Step 1: Apply for appkey.

Step 2: Download Unity Cross Platform integration package.

Unity Cross Platform Integration

Step 1: Copy the file required for integration to your Unity project.

Step 2: Refer to the image below to add a "New script" component to a Unity object.

unity-cross-add

Step 3: Import the "PacketSDKAPI" namespace into the mono script which added in the previous step and call the relevant API.

Step 4: Select the target platform and build it.

Step 5: Verify if integration is successful.

unity-cross-verify

API documentation