Esempio n. 1
0
 public void OnDestroy()
 {
     if (gameObject == SharedInstance.gameObject)
     {
         _campaignsAvailableDelegate   = null;
         _campaignsFetchFailedDelegate = null;
         _adsShowDelegate        = null;
         _adsHideDelegate        = null;
         _videoCompletedDelegate = null;
         _videoStartedDelegate   = null;
     }
 }
Esempio n. 2
0
	public void OnDestroy () {
		if(gameObject == SharedInstance.gameObject) {
			_campaignsAvailableDelegate = null;
			_campaignsFetchFailedDelegate = null;
			_adsShowDelegate = null;
			_adsHideDelegate = null;
			_videoCompletedDelegate = null;
			_videoStartedDelegate = null;
		}
	}
Esempio n. 3
0
	public static void setVideoCompletedDelegate (UnityAdsVideoCompleted action) {
		_videoCompletedDelegate = action;
	}
Esempio n. 4
0
 public static void setVideoCompletedDelegate(UnityAdsVideoCompleted action)
 {
     _videoCompletedDelegate = action;
 }