IAlert.cs 435 B

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