CapersProject/Assets/02.Scripts/Ui/GameOverPopupUi.cs
2024-06-04 03:26:03 +09:00

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();
}
}
}