WIP
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user