21 lines
476 B
C#
21 lines
476 B
C#
|
using UnityEngine;
|
||
|
|
||
|
namespace BlueWater.Uis
|
||
|
{
|
||
|
public class GameOverPopupUi : PopupUi
|
||
|
{
|
||
|
public override void Open()
|
||
|
{
|
||
|
Time.timeScale = 0f;
|
||
|
PlayerInputKeyManager.Instance.DisableCurrentPlayerInput();
|
||
|
base.Open();
|
||
|
}
|
||
|
|
||
|
public override void Close()
|
||
|
{
|
||
|
Time.timeScale = 1f;
|
||
|
PlayerInputKeyManager.Instance.EnableCurrentPlayerInput();
|
||
|
base.Close();
|
||
|
}
|
||
|
}
|
||
|
}
|