This commit is contained in:
cemt1363
2026-06-07 04:01:27 +02:00
2 changed files with 146 additions and 1 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ public class StartScene : MonoBehaviour
// Update is called once per frame
void Update()
{
if (Input.anyKey)
if (Input.anyKeyDown)
{
// Start the "coroutine" instead of switching scenes immediately
StartCoroutine(PlaySoundAndLoad());