WIP
This commit is contained in:
@@ -676,7 +676,7 @@ namespace Minigames.DivingForPictures
|
||||
{
|
||||
//Instead of surfacingTimeline, play the outro cinematic
|
||||
CinematicsManager.Instance.LoadAndPlayCinematic("SurfacingCinematic");
|
||||
CinematicsManager.Instance.ShowCinematicBackground(true);
|
||||
// TODO CinematicsManager.Instance.ShowCinematicBackground(true);
|
||||
//surfacingTimeline.Play();
|
||||
//Logging.Debug("[DivingGameManager] Last tile left the screen, playing timeline");
|
||||
|
||||
@@ -698,6 +698,7 @@ namespace Minigames.DivingForPictures
|
||||
monster.DespawnMonster();
|
||||
}
|
||||
}
|
||||
//TODO CinematicsManager.Instance.ShowGameOverScreen();
|
||||
|
||||
activeMonsters.Clear();
|
||||
|
||||
|
||||
18
Assets/Scripts/UI/DivingGameOverScreen.cs
Normal file
18
Assets/Scripts/UI/DivingGameOverScreen.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Core;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class DivingGameOverScreen : MonoBehaviour
|
||||
{
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void PlayAgain()
|
||||
{
|
||||
SceneManagerService.Instance.ReloadCurrentScene();
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/UI/DivingGameOverScreen.cs.meta
Normal file
2
Assets/Scripts/UI/DivingGameOverScreen.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b37e3dc225aa25143af8ab61f827ae8b
|
||||
Reference in New Issue
Block a user