IAlert.cs 474 B

1234567891011121314
  1. using static GFGGame.AlertWindow;
  2. namespace GFGGame
  3. {
  4. public interface IAlert
  5. {
  6. IAlert SetLayer(string layer);
  7. IAlert SetMessage(string message);
  8. IAlert SetLeftButton(bool isShow, string textLeft = "取消", AlertCallback callback = null);
  9. IAlert SetRightButton(bool isShow, string textRight = "确认", AlertCallback callback = null);
  10. IAlert SetData(object data);
  11. IAlert SetClickBlankToClose(bool value);
  12. }
  13. }