opening scene finish

This commit is contained in:
orsolya-st
2026-06-07 03:45:52 +02:00
parent 3cd0dc032d
commit e0e58f30ac
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());