rise-and-swine/Assets/Scripts/Assembly-CSharp/ConfirmationPopup.cs
2023-02-25 23:04:03 -05:00

22 lines
345 B
C#

using System;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ConfirmationPopup : MonoBehaviour
{
public event Action PopupClosed;
public void DismissDialog()
{
base.gameObject.SetActive(false);
if (this.PopupClosed != null)
{
this.PopupClosed();
}
}
public void ExitGame()
{
Application.Quit();
}
}