void Update() { if (showAds) { if (UnityAdsHelper.isReady()) { UnityAdsHelper.Show(); } showAds = false; } }