Quantcast
Channel: Questions in topic: "ads"
Viewing all articles
Browse latest Browse all 1416

Advertisement.IsReady(). my button's interactable is always false

$
0
0
I just want to make this; if an ad is ready to show than user should be available to click this button but this code doesn't make that happen. Please share your knowledge void Start() { points.text="Points: "+PlayerPrefs.GetInt("ScoreCmon").ToString(); if (UnityEngine.Advertisements.Advertisement.IsReady()==false) { watchbutton[0].interactable = false; watchbutton[0].image.color = Color.red; } }

Viewing all articles
Browse latest Browse all 1416

Trending Articles