ドキュメント

サポート

LevelPlay SDK - Unity

Unity developer tools

Use LevelPlay Network Manager and Developer Settings to streamline SDK integration and manage updates directly within the Unity development environment.
読み終わるまでの所要時間 3 分最終更新 2日前

LevelPlay Network Manager and Developer Settings are tools that allow for a streamlined integration when building your app. After you've downloaded and integrated LevelPlay SDK 7.1.0+, you will be able to update the latest versions of LevelPlay SDK and adapters directly from the Unity development platform.

Prerequisites

Add the LevelPlay Network Manager and Developer Settings to your project

Follow these steps to update your SDK to the latest version, and to add the LevelPlay Network Manager and Developer Settings.
Import Unity Package
After you update your Unity package for the new SDK and LevelPlay Network Manager, in the Unity Editor menu, select Ads Mediation.
Ads Mediation Menu

Manage SDK and Adapter versions

To upgrade your SDK or Adapter versions, complete the following steps:
  1. Go to Ads Mediation > Network Manager.
  2. Select Install or Update.
If you already have the latest version of the LevelPlay SDK or adapters, the action button displays as Updated and is disabled.
After you update the LevelPlay SDK package, the new files automatically populate. This means that all of the changes in the new SDK, including API signature changes, are applied after this action.
LevelPlay Network Manager

Android

To apply your changes, ensure that you use the “Resolve” process. This downloads all relevant artifacts according to your selections. To enable this process, complete the following steps:
If you imported Mobile Dependency Resolver with Unity package 8.10.0 or later, this action is automatically performed.
  1. Go to Edit > Project Settings > Player > Android > Publishing Settings.
  2. Enable Custom Main Gradle Template.
  3. Go to Assets > Mobile Dependency Manager (or External Dependency Manager) > Android Resolver > Settings.
  4. Select
    Patch mainTemplate.gradle
    .
  5. Select OK to save your changes.

Manual Resolve

If you're using the External Dependency Manager (EDM4U), go to Assets > External Dependency Manager > Android > Resolve.
External Dependency Manager - Android Resolver
If you're using the Mobile Dependency Resolver, go to Assets > Mobile Dependency Resolver > Android > Resolve.
Mobile Dependency Resolver - Android
Perform this action after every change in the LevelPlay Network Manager.
If you're using Automatic Resolve, all updates are performed when you close the Network Manager window.

iOS

Ensure that Cocoapods is installed. If you're using the External Dependency Manager (EDM4U), go to Assets > External Dependency Manager > iOS Resolver > Install Cocoapods.
External Dependency Manager - iOS Resolver
If you're using the Mobile Dependency Resolver, go to Assets > Mobile Dependency Resolver > iOS Resolver > Install Cocoapods.
Mobile Dependency Resolver - iOS

Advanced Mediation Settings

LevelPlay Mediation Settings

When using the LevelPlay Mediation Settings, you can perform the following actions:
  • Initialize LevelPlay SDK, on RuntimeInitializeOnLoadMethod, for Android and iOS
    • Define your application app keys for Android and iOS
    • Enable ironSource Init API when your app is initiated. This enables all ad-units defined on Unity LevelPlay.
  • Add ironSource SKAdNetwork ID to your info.plist file (for iOS). If you already defined SKAdNetworks manually, ensure that you use the "Append" option when rebuilding your project.
  • Enable the project features as Debug Adapter and Integration Helper. The recommended best practice is to disable these features when you release your app.
LevelPlay Mediation Settings
All changes are applied after you build your project for the relevant platform.

LevelPlay Mediated Network Settings

Use this pane to complete your AdMob integration. Enable the Enable Admob flag and provide the relevant app IDs, as detailed in AdMob’s platform. The action adds the app IDs to your app’s Manifest.xml (Android) and info.plist (iOS) files.
All changes are applied after you build your project for the relevant platform.