//public Reward recompensaDillon, recompensaJohnsson; // Use this for initialization void Start() { /*Reward recompensaDillon = new Reward * { * Type = "skinD", * Amount = 1 * }; * * * * //Reward recompensaJohnsson = new Reward("skinJ",1); * * * * * * /*recompensaDillon.Type="skinD"; * recompensaDillon.Amount=1; * recompensaJohnsson.Amount=1; * recompensaJohnsson.Type="skinJ";*/ //PlayerPrefs.SetInt("WatchDillon",0); //PlayerPrefs.SetInt("WatchJohnsson",0); ads = FindObjectOfType <GoodAdMobRewardedVideo>(); buyTArnie = false; buyDiezel = false; buyHitman = false; buyJohsson = false; buyDillon = false; //ResetAll(); AlreadyBuyed(); AlreadyWatched(); }
//private static IStoreController m_StoreController; // Use this for initialization void Start() { ads = FindObjectOfType <GoodAdMobRewardedVideo>(); //Advertisement.Initialized("1717631"); /*/if (m_StoreController==null) * { * IsInitialized(); * } */ musicSource.clip = musicClip; }