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