rise-and-swine/Assets/Scripts/Assembly-CSharp/ConfirmationPopup.cs

23 lines
345 B
C#
Raw Normal View History

2023-02-25 23:04:03 -05:00
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();
}
}