IAlert.cs 516 B

123456789101112131415
  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 SetShowCheck(bool isShow);
  12. IAlert SetClickBlankToClose(bool value);
  13. }
  14. }