void Awake() { #if !UNITY_EDITOR listener = new FullScreenVideoAdListener(this); retryer.Regist(this); #endif }
/// <summary> /// Load the full screen video Ad asynchronously and notice on listener. /// </summary> public void LoadFullScreenVideoAd( AdSlot adSlot, IFullScreenVideoAdListener listener) { var androidListener = new FullScreenVideoAdListener(listener); this.adNative.Call( "loadFullScreenVideoAd", adSlot.Handle, androidListener); }