C#1using UnityEngine.SceneManagement; 2 3public OnRestartPress() { 4 SceneManager.LoadScene(SceneManager.GetActiveScene().name); 5}
1using UnityEngine.SceneManagement; 2 3public OnRestartPress() { 4 SceneManager.LoadScene(SceneManager.GetActiveScene().name); 5}