okay , so I want to make my ads only be playable every 5 minutes
but i don't know how to make that..
public void ShowAd()
{
if (Advertisement.IsReady())
{
Advertisement.Show();
PlayerPrefs.SetInt("Coins", PlayerPrefs.GetInt("Coins", 0) + 500);
if (Controller.IsRunning == false) SetMenuScore();
}
}
this is the code I'm using.
↧