using UnityEngine.SceneManagement; public void PlayGame() { SceneManager.LoadScene("YourLevelName"); }