24 lines
522 B
C#
24 lines
522 B
C#
using TMPro;
|
|
|
|
namespace Studio.UI.Popup
|
|
{
|
|
public class UIQuitPopup : MonoBehaviour, IUIPopupContent
|
|
{
|
|
public static readonly string PrefabPath = "Prefabs/Popup/UIQuitPopup";
|
|
|
|
public bool IsOkable => true;
|
|
|
|
public bool IsCancelable => true;
|
|
|
|
private TextMeshProUGUI text_quit;
|
|
private void Start()
|
|
{
|
|
text_quit = GetComponentInChildren<TextMeshProUGUI>();
|
|
}
|
|
public object GetResult()
|
|
{
|
|
return "OK";
|
|
}
|
|
}
|
|
}
|