RequestInterstitial() public method

public RequestInterstitial ( ) : void
return void
示例#1
0
    // 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();
    }
示例#2
0
    public IEnumerator RequestAds()
    {
        yield return(new WaitForSeconds(1f));

        if (RewardBasedVideo)
        {
            admob.RequestRewardBasedVideo();
        }
        if (Interstitial)
        {
            admob.RequestInterstitial();
        }
        if (Banner)
        {
            admob.RequestBanner(BannerPostion);
        }
    }