public AlertWithCheckBoxScreen(string title, string message, string checkBoxTextID, string timerTextID, int timerLeftSeconds, Color timerColor, AlertWithCheckBoxScreen.OnCheckBoxScreenModalResult callback) : base(false, title, message, "", false) { this.timerEndSeconds = timerLeftSeconds; this.timerColor = timerColor; this.timerTextID = timerTextID; this.resultCallback = callback; base.OnModalResult = new OnScreenModalResult(this.OnScreenClosed); this.checkboxTextID = checkBoxTextID; }
public AlertWithCheckBoxScreen(string title, string message, string checkBoxTextID, AlertWithCheckBoxScreen.OnCheckBoxScreenModalResult callback) : this(title, message, checkBoxTextID, "", 0, Color.white, callback) { }