I need to delay the load new level by a few second. Please help.This is the script I need to use:
public class myscore : MonoBehaviour {
void OnCollisionEnter2D(Collision2D col){
Debug.Log ("Collision");
if (col.gameObject.tag == "Player") {
score = score + 50;
Destroy (gameObject);
*Here I need to wait for 3 sec then it should load the next level*
SceneManager.LoadScene(nextLevel);
}
}