Skip to main content

Development Environment Configuration

Introduction

This document mainly introduces the initial configuration for the Unity project when integrating the MG Ads Unity SDK.

Adding References

  • Download the MG Ads Unity SDK zip package. After extracting, you will get the MGUnityADSdk.unitypackage plugin.

  • Import the MGUnityADSdk.unitypackage plugin into your Unity project.

  • After successful import, locate the "MGADS" prefab in the MGAdsSDK -> Prefab directory and drag it into your initial scene.
    image.png

  • Ensure that the "MGADS" prefab has the UnityApplicationManager.cs and AdvertisingManager.cs scripts correctly attached to it.