original ver 25/06/01
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user