Ejemplo n.º 1
0
 public void showADS()
 {
     if (launchNum % 2 != 0 && PlayerPrefs.GetInt("rateState") == 0 && gameCount == 1)
     {
         rateBtn();
     }
     else
     {
         waitMethod = show;
         StartCoroutine(startAfter(0.5f, waitMethod));
     }
 }
Ejemplo n.º 2
0
    IEnumerator startAfter(float waitTime, WaitAndStart w)
    {
        yield return(new WaitForSeconds(waitTime));

        w();
    }