CapersProject/Assets/02.Scripts/Ui/Combat/GameOverPopupUi.cs
2024-10-29 15:45:18 +09:00

21 lines
555 B
C#

using System.Collections.Generic;
namespace BlueWater.Uis
{
public class GameOverPopupUi : PopupUi
{
public override void Open()
{
base.Open();
VisualFeedbackManager.Instance.SetBaseTimeScale(0f);
PlayerInputKeyManager.Instance.DisableCurrentPlayerInput();
}
public override void Close()
{
base.Close();
PlayerInputKeyManager.Instance.EnableCurrentPlayerInput();
VisualFeedbackManager.Instance.SetBaseTimeScale(1f);
}
}
}