Simple but it’s not working
I’m waiting in this scene for three secs and moving to next…
public float timeToWait = 3.0f;
public string myChapter = "0";
void Start()
{
StartCoroutine(Whatever());
}
IEnumerator Whatever()
{
Debug.Log("IE");
yield return new WaitForSeconds(timeToWait);
Debug.Log("Wait4");
Application.LoadLevel(myChapter);
Debug.Log("LOADed");
}