简体   繁体   中英

How to handle admob Interstitial in Unity

Hi I want to handle my admob Interstitial and show it every 60 seconds. In Java we do postDelayed(), can you tell me please how to make it with C# ?

This is my code:

AdManager.Instance.ShowInterstitial();

I used this cod eto acheive that if anyone wants to:

Invoke("DoSomething", 60) //DoSomething will happen in 60seconds

And:

public void DoSomething() {
////your code here
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM