using UnityEngine; using UnityEngine.SceneManagement; public class RestartSceneExample : MonoBehaviour { void Start { SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex)//Load the current scene } {