Finished changing score to amount of photos
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user