ewarded
using GoogleMobileAds.Api; using System.Collections; using System.Collections.Generic; using UnityEngine; using GoogleMobileAds; using System; public class rewarded : MonoBehaviour { public int adtoshow, adrun; // Start is called before the first frame update void Start() { // Initialize the Google Mobile Ads SDK. MobileAds.Initialize((InitializationStatus initStatus) => { // This callback is called once the MobileAds SDK is initialized. }); } // Update is called once per frame void Update() { } // These ad units are configured to always serve test ads. #if UNITY_ANDROID private string _adUnitId = "ca-app-pub-3940256099942544/5224354917"; #elif UNITY_IPHONE private string _adUnitId = "ca-app-pub-3940256099942544/1712485313"...