- Home /
Problem with unity ads
Hi all, I am having a problem with unity ads. When i call for an ad, a add is prompted but it's not a real app just an add for unity. pic of the ad: https://drive.google.com/open?id=0B7JcBeBehMJ-R1F1eWVHWW9adWtPeXRFTHRNQ1NjQVN6YTJj
code:
function OnCollisionEnter2D(myCol : Collision2D)
{
if(myCol.gameObject.tag == "cube" && lives == 0)
{
ShowAd();
}
}
function ShowAd()
{
if (!Advertisement.IsReady())
{
return;
}
Advertisement.Show();
}
Comment
Your answer
Follow this Question
Related Questions
Copyright ? 2 Answers
unity ads after google play publishing ?? 0 Answers
Does any one know of a tutorial for making games like eve online ? 0 Answers
throwing no error messages 0 Answers
2d game for my first unity project. 1 Answer