// Button public ADMSheet(string label, Action callback = null, AltDialogMenu.Condition condition = null, string description = null, params ADMSheet[] sheets) { this.label = label; this.callback = callback; this.condition = condition; this.description = description; type = ADMSheetType.Button; SetSheets(sheets); }
// Slider public ADMSheet(string label, int value, int min, int max, Action <int, ADMSheetSlider> callback = null, AltDialogMenu.Condition condition = null, string description = null, params ADMSheet[] sheets) { this.label = label; this.value = new ADMSheetSlider(value, min, max); this.callback = callback; this.condition = condition; this.description = description; type = ADMSheetType.Slider; SetSheets(sheets); }