How to run an ad after a delay

Hello everyone.
How i add a delay to a public void? I can’t seem to find the exact way to do it.
Example code:

public class Interstitial : MonoBehaviour
{
    private InterstitialAd interstitial;

    public void ShowInterstitial()
    {
        RequestInterstitial();
    }

I want the ShowInterstitial() to happen after 2-3 seconds for example

The 2D forum is not for general scripting questions. Please use this forum for specific 2D related posts.

I’ll move your post to the Scripting forum.

Thank you. Sorry for posting in the wrong section.

1 Like