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

21 lines
549 B
C#
Raw Normal View History

using System.Collections.Generic;
2024-06-03 18:26:03 +00:00
2025-02-10 02:13:46 +00:00
namespace DDD.Uis
2024-06-03 18:26:03 +00:00
{
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
}
}
}