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