Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Commit bd22bdc

Browse files
committed
not changing the MenuToggle constructor of request from Requi
1 parent 124b8b4 commit bd22bdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

UI/QuickMenu/ReMenuToggle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public string Tooltip {
6060
_tooltip.field_Public_String_1 = value;
6161
}
6262
}
63-
63+
public ReMenuToggle(string text, string tooltip, Action<bool> onToggle, Transform parent, bool defaultValue = false) : this(text, tooltip, onToggle, parent, defaultValue, null, null) { }
6464
public ReMenuToggle(string text, string tooltip, Action<bool> onToggle, Transform parent, bool defaultValue = false, Sprite iconOn = null, Sprite iconOff = null) : base(QuickMenuEx.TogglePrefab, parent, $"Button_Toggle{text}")
6565
{
6666
var icon = RectTransform.Find("Icon_On").GetComponent<Image>();

0 commit comments

Comments
 (0)