private void OnWatchAdButtonClicked() { admob.RequestRewardAd(); //disable the button: uiWatchAdButton.interactable = false; uiWatchAdText.text = "Loading.."; }
public void WatchAdButtonClick( ) { isAdWatched = false; watchAdButton.interactable = false; watchAdButtonText.text = "LOADING.."; //Request & Show Ad #if UNITY_EDITOR StartCoroutine(SimulateEditorRequestRewardAd( )); #elif UNITY_ANDROID admob.RequestRewardAd(); #endif }