Finished changing score to amount of photos

This commit is contained in:
2025-11-18 12:45:36 +01:00
parent 219f2239a1
commit 2c4e90b698
5 changed files with 159 additions and 154 deletions

View File

@@ -22,6 +22,7 @@ namespace UI.Tutorial
public bool playTutorial;
public AudioSource bottleAudioPlayer;
public AudioResource introVO;
public GameObject scoreCanvas;
[SerializeField] private ProgressType progressType = ProgressType.Auto;
// gating for input until current state's animation finishes first loop
@@ -52,6 +53,9 @@ namespace UI.Tutorial
// prepare gating for the initial active state
SetupInputGateForCurrentState();
// hide the score canvas gameobject
scoreCanvas.SetActive(false);
}
else
{
@@ -80,6 +84,7 @@ namespace UI.Tutorial
Destroy(gameObject);
bottleAudioPlayer.resource = introVO;
bottleAudioPlayer.Play();
scoreCanvas.SetActive(true);
}
public void OnTap(Vector2 position)