- Home /
Question by
fevixlevix · Jul 16, 2020 at 11:37 PM ·
waitforsecondswait
How do I make the player wait 5 seconds when touching the player and then change the scene
void OnCollisionEnter2D(Collision2D collision) { if (collision.gameObject.tag == "Player") { SceneManager.LoadScene(scene); }
}
Comment
Your answer
Follow this Question
Related Questions
Wait until animation is finished 2 Answers
Help with changing texture and waiting (Help!) 4 Answers
Pause a script completely 3 Answers