Escolar Documentos
Profissional Documentos
Cultura Documentos
Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Monetization;
if (instance != null) {
Destroy (gameObject);
} else {
instance = this;
DontDestroyOnLoad (gameObject);
void Start () {
void Update () {
}
if (PlayerPrefs.HasKey ("Adcount")) {
if (PlayerPrefs.GetInt ("Adcount") == 3) {
if (Monetization.IsReady (video_ad)) {
ShowAdPlacementContent ad = null;
ad = Monetization.GetPlacementContent (video_ad)
as ShowAdPlacementContent;
if (ad != null) {
ad.Show ();
} else {
else {