20 lines
352 B
C#
20 lines
352 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class PauseScreenView : MonoBehaviour
|
|
{
|
|
[SerializeField] public GameObject pauseScreen;
|
|
public Button resumeBtn;
|
|
public Button restartBtn;
|
|
|
|
public void Show()
|
|
{
|
|
pauseScreen.SetActive(true);
|
|
}
|
|
|
|
public void Hide()
|
|
{
|
|
pauseScreen.SetActive(false);
|
|
}
|
|
}
|