- Home /
 
 
               Question by 
               panim0_unity · Feb 23, 2019 at 01:50 PM · 
                uiadsbuttonsadvertising  
              
 
              Advertisement.IsReady(). my button's interactable is always false
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;
         }
 
     }
 
              
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
AdMob RewardBasedVideoAd, App crash after reward video closed (Android) 5 Answers
Buttons stopped working after I temporarily changed the font. 1 Answer
Inventory UI buttons not working 1 Answer
Unknown object covering UI 1 Answer
UI Buttons Stop Working After I Load Another Scene And Then Come Back. 4 Answers