public void Update(){
int life = PlayerPrefs.GetInt("Life");
if(life != 0 && life > 0){
showAd.interactable = true;
rewardedAd = new RewardedAd(RewardedUnitId);
AdRequest adRequest = new AdRequest.Builder().Build();
rewardedAd.LoadAd(adRequest);
}
else if(life == 0 && life < 0) showAd.interactable = false;
}