Quantcast
Viewing all articles
Browse latest Browse all 1416

Ad Manager

Hello, For some reason I cannot implement the AdMAnager correctly. The line " Advertisement.AddListener(this);" is giving me an error. The error: cannot convert from 'AdManager' to 'UnityEngine.Advertisement.IUnityadsListener' Can anybody please help me public class AdManager : MonoBehaviour, IUnityAdsListener { public static AdManager instance; private void Start() { if (instance == null) { instance = this; DontDestroyOnLoad(gameObject); Advertisement.AddListener(this); Advertisement.Initialize(storeID, testMode); } else { Destroy(gameObject); } } }

Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>