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
- Supported or LTS version of the Unity Editor.
- For iOS: Cocoapods applied
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.- Option 1 (recommended): Install the Ads Mediation package in Unity Package Manager.
- Option 2: Download Unity Plugin Version 9.4.0 and import it into your project.


Manage SDK and Adapter versions
To upgrade your SDK or Adapter versions, complete the following steps:- Go to Ads Mediation > Network Manager.
- Select Install or Update.
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.

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:- Go to Edit > Project Settings > Player > Android > Publishing Settings.
- Enable Custom Main Gradle Template.
- Go to Assets > Mobile Dependency Manager (or External Dependency Manager) > Android Resolver > Settings.
- Select .
Patch mainTemplate.gradle - 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.

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.

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.
