Finished changing score to amount of photos
This commit is contained in:
@@ -101,6 +101,7 @@ namespace Minigames.DivingForPictures
|
||||
|
||||
public AudioSource deathAudioPlayer;
|
||||
public CameraViewfinderManager cameraViewfinderManager;
|
||||
public GameObject scoreCanvasObject;
|
||||
|
||||
public static DivingGameManager Instance => _instance;
|
||||
|
||||
@@ -629,9 +630,9 @@ namespace Minigames.DivingForPictures
|
||||
deathAudioPlayer.Stop();
|
||||
CinematicsManager.Instance.LoadAndPlayCinematic("SurfacingCinematic",true);
|
||||
CinematicsManager.Instance.ChangeCinematicBackgroundColour(new Color(0.5058824f, 0.7803922f, 0.8862746f, 1f));
|
||||
//PlayerHudManager.Instance.ResizeCinematicPlayer();
|
||||
//surfacingTimeline.Play();
|
||||
//Logging.Debug("[DivingGameManager] Last tile left the screen, playing timeline");
|
||||
|
||||
// Remove score canvas
|
||||
scoreCanvasObject.SetActive(false);
|
||||
|
||||
}
|
||||
else
|
||||
@@ -646,6 +647,8 @@ namespace Minigames.DivingForPictures
|
||||
CinematicsManager.Instance.OnCinematicStopped -= EndGame;
|
||||
// Start the end game sequence that grants a booster, waits for the UI animation, then shows Game Over.
|
||||
StartCoroutine(EndGameSequence());
|
||||
|
||||
|
||||
}
|
||||
|
||||
private IEnumerator EndGameSequence()
|
||||
|
||||
Reference in New Issue
Block a user