Code -
void Start() {
if (Advertisement.isSupported)
{
Advertisement.Initialize(APP_ID, false);
}
}
public void ShowAds() {
if (Advertisement.IsReady()) {
Advertisement.Show();
}
}
↧