22 lines
588 B
C#
22 lines
588 B
C#
using JetBrains.Annotations;
|
|
using NEG.UI.Area;
|
|
using System;
|
|
|
|
namespace NEG.UI.Popup
|
|
{
|
|
[PublicAPI]
|
|
public interface IPopup
|
|
{
|
|
/// <summary>
|
|
/// Show popup
|
|
/// </summary>
|
|
/// <param name="data">data assigned to popup, used to give info that popup is closed</param>
|
|
void Show(PopupData data);
|
|
|
|
/// <summary>
|
|
/// Close popup or mark as closed if not visible
|
|
/// </summary>
|
|
/// <param name="silence">if true hide visually, without firing callbacks</param>
|
|
void Close(bool silence = false);
|
|
}
|
|
} |