using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class YouWinController : MonoBehaviour{ public AudioSource youWinMusic; // The music played at the you win screen // Start is called before the first frame update void Start(){ // Initialize and play the music youWinMusic = gameObject.GetComponent(); youWinMusic.Play(); } public void Continue(){ // On click, load the credits SceneManager.LoadScene("Credits"); } }