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