I want it so my Unity Ad plays on startup. Right now the only way i can get it to work is with a button that triggers the function...
Im using the standard example code!
using UnityEngine;
using UnityEngine.Advertisements;
public class UnityAdsExample : MonoBehaviour
{
public void ShowAd()
{
if (Advertisement.IsReady())
{
Advertisement.Show();
}
}
}
↧