Hi
I have this script but I want to ensure the player meant to look at the button so need to introduce an e.g. 3 second delay before it confirms and loads the new scene.
I would really appreciate it if someone could tell me how to do this or point me to a tutorial that explain it since I only seem to be able to find very old tutorials that bear little resemblance to 2019 version of unity and i get stuck every time!
using UnityEngine;
using UnityEngine.SceneManagement;
public class Scenecontroller : MonoBehaviour
{
public void ChangeScene (string scenename)
{
SceneManager.LoadScene(scenename);
}
}
thanks for your help!
Nick