using static GFGGame.AlertWindow; namespace GFGGame { public interface IAlert { IAlert SetLayer(string layer); IAlert SetMessage(string message); IAlert SetLeftButton(bool isShow, string textLeft = "取消", AlertCallback callback = null); IAlert SetRightButton(bool isShow, string textRight = "确认", AlertCallback callback = null); IAlert SetData(object data); IAlert SetClickBlankToClose(bool value); } }