Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     showBtn.onClick.AddListener(showBtnClick);
     loadBtn.onClick.AddListener(loadBtnClick);
     //Notice: load Interstitial ad when you init UI.
     CTService.preloadInterstitialWithSlotId(slot_id);
 }
Beispiel #2
0
 void loadBtnClick()
 {
     //load Interstitial ad
     CTService.preloadInterstitialWithSlotId(slot_id);
     Debug.Log("CT Interstitial loadBtnClick");
 }