CapersProject/Assets/02.Scripts/Ui/Combat/GameOverPopupUi.cs

21 lines
555 B
C#
Raw Normal View History

using System.Collections.Generic;
2024-06-03 18:26:03 +00:00
namespace BlueWater.Uis
{
public class GameOverPopupUi : PopupUi
{
2024-10-29 06:45:18 +00:00
public override void Open()
2024-06-03 18:26:03 +00:00
{
2024-10-29 06:45:18 +00:00
base.Open();
VisualFeedbackManager.Instance.SetBaseTimeScale(0f);
2024-06-03 18:26:03 +00:00
PlayerInputKeyManager.Instance.DisableCurrentPlayerInput();
}
public override void Close()
{
base.Close();
2024-06-03 18:26:03 +00:00
PlayerInputKeyManager.Instance.EnableCurrentPlayerInput();
VisualFeedbackManager.Instance.SetBaseTimeScale(1f);
2024-06-03 18:26:03 +00:00
}
}
}