public void adsorbOnHelperRewardGranted(string filterName) { Debug.Log("adsorbOnHelperRewardGranted"); // Reward granted for success ad GameButtons.hintCount = 3; GameButtons.loadAds.SetActive(false); GameButtons.loadAds.GetComponent <Button> ().interactable = true; GameButtons.hintLeft.text = 3 + ""; AdsorbAds.LoadHelperAd("Refill Hint?", "Watch a short message to get extra", "3 hints", "Tap for more Hints", false); }
void Start() { UpdateDbase.numAnim = false; breakObj = GameObject.Find("break"); breakObj.SetActive(false); rdmVowel = Random.Range(0, 5); clueMask.SetActive(false); if (LevelManager.playMode == "story") { if (LevelManager.currentLevel < 11) { rdmMode = 1; } else { rdmMode = Random.Range(1, 4); // 1 Picture= , 2 = Silhouette, 3 = Words } // 0 = no change, 1 = rotated newMode = Random.Range(LevelSpawn.minModeNum, LevelSpawn.maxModeNum); } else if (LevelManager.playMode == "random") { rdmMode = LevelManager.rdmMode; newMode = LevelManager.newMode; } Debug.Log("Random Game Mode : " + rdmMode); setStage(); randomClues(); randomDecor(); if (!Version.noAds) { AdsorbAds.LoadHelperAd("Refill Hint?", "Watch a short message to get extra", "3 Hints", "Tap for more Hints", false); AdsorbAds.LoadSuccessAd("Level Completed", "Earn more points and cash!", false); } }
public void adsorbOnHelperRewardedAdDismissed(string filterName) { // Helper ad dismissed GameButtons.loadAds.GetComponent <Button> ().interactable = true; AdsorbAds.LoadHelperAd("Refill Hint?", "Watch a short message to get extra", "3 hints", "Tap for more Hints", false); }