言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

ADInterstitialAd

Namespace: UnityEngine

Description

Apple iADフレームワークのADInterstitialAdクラスのラッパーです。iPad のみ利用可能です。

iPad アプリケーションがユーザに表示できるフルスクリーン広告を提供します。

private ADInterstitialAd fullscreenAd = null;

void Start()
{
	fullscreenAd = new ADInterstitialAd();
	ADInterstitialAd.onInterstitialWasLoaded  += OnFullscreenLoaded;
}

void OnFullscreenLoaded()
{
	fullscreenAd.Show();
}

Static Variables

isAvailable インターステイシャル広告が利用可能かチェック(iPad 専用、iOS 4.3 から追加された)

Variables

loaded 広告がダウンロードされたか(RO)

Constructors

ADInterstitialAd インターステーシャル広告を作成

Functions

ReloadAd 広告をリロード
Show ユーザにフルスクリーン広告を表示