Get Started with Unity

Prerequisites

Make sure you have Unity Editor installed. Download the Editor here.

Step 1: Create a New Project

Create a project in Unity as normal. Refer to the Unity documentation.

Step 2: Include the SDK

  1. Download the Audience Network SDK for Unity, and unzip to get the Unity package.
  2. In your Unity project, go to Assets > Import Package > Custom Package…, and select the Unity package you unzipped in the previous step. The package structure looks like this:
  3. The Scenes folder contains sample scenes to demonstrate how to use different ad formats. To test the included sample scenes, build the following from the SDK:
  4. Choose iOS or Android as the platform and build the project to test.
  5. To resolve the required packages (native iOS and Android SDKs), use the menu provided by the External Dependency Manager for Unity tool. The Audience Network SDK for Unity uses this tool to manage the library dependencies for Android and iOS builds.

Refer to the github repository for details about the build process.

Next Steps

Follow our guides for integrating different Ad Formats in your app: