Exemple #1
0
 public void OnDestroy()
 {
     if (gameObject == SharedInstance.gameObject)
     {
         _campaignsAvailableDelegate   = null;
         _campaignsFetchFailedDelegate = null;
         _adsShowDelegate        = null;
         _adsHideDelegate        = null;
         _videoCompletedDelegate = null;
         _videoStartedDelegate   = null;
     }
 }
Exemple #2
0
	public void OnDestroy () {
		if(gameObject == SharedInstance.gameObject) {
			_campaignsAvailableDelegate = null;
			_campaignsFetchFailedDelegate = null;
			_adsShowDelegate = null;
			_adsHideDelegate = null;
			_videoCompletedDelegate = null;
			_videoStartedDelegate = null;
		}
	}
Exemple #3
0
	public static void setVideoStartedDelegate (UnityAdsVideoStarted action) {
		_videoStartedDelegate = action;
	}
Exemple #4
0
 public static void setVideoStartedDelegate(UnityAdsVideoStarted action)
 {
     _videoStartedDelegate = action;
 }