// Use this for initialization void Start() { ad = GameObject.FindGameObjectWithTag("Ad").GetComponent <GoogleMobileAdsScript>(); ad.RequestInterstitial(); destinationNode = nodes[size_x - 1, 0]; destinationNode.isBuildable = false; enemySpawnNode = nodes[0, size_z - 1]; enemySpawnNode.isBuildable = false; MakeGrid(); }
public IEnumerator RequestAds() { yield return(new WaitForSeconds(1f)); if (RewardBasedVideo) { admob.RequestRewardBasedVideo(); } if (Interstitial) { admob.RequestInterstitial(); } if (Banner) { admob.RequestBanner(BannerPostion); } }