Exemple #1
0
    // Resets ball if stuck on lane
    IEnumerator StuckTimer()
    {
        yield return(new WaitForSeconds(3.0f));      // Waits for 3 seconds

        inPlay = false;
        pinCounter.SetBallOutOfPlay();
    }