using Cysharp.Threading.Tasks;
namespace Gameplay.PopUp
{
///
/// 弹窗接口
///
public interface IPopUp
{
///
/// 弹窗UI名
///
public string PopUpUIName { get; }
///
/// 触发UI名数组
///
public string[] TriggerUINames { get; }
///
/// 优先级(越小越优先)
///
public int Priority { get; }
///
/// 是否可以同时弹窗
///
public bool IsSameTimePopUp { get; }
///
/// 弹窗
///
/// 是否弹窗成功
UniTask PopUp();
}
}