Files

26 lines
557 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class pressStart : MonoBehaviour
{
public string sceneName_toNextScene = "selectYourSongFirst";
// Start is called before the first frame update
void Start()
{
//sceneName_toNextScene = "Songs_Select";
}
// Update is called once per frame
void Update()
{
if (Input.GetKeyDown(KeyCode.Space))
{
SceneManager.LoadScene(sceneName_toNextScene);
}
}
}