Creating A CheckBox From A Button - PlagueVRC/PlagueButtonAPI GitHub Wiki

Just Use My Code Below, Cba Explaining Lol:

ButtonAPI.PlagueButton CheckBox = null;

CheckBox = ButtonAPI.CreateButton(ButtonAPI.ButtonType.Toggle, "X", "A CheckBox, Ez", ButtonAPI.HorizontalPosition.FirstButtonPos, ButtonAPI.VerticalPosition.TopButton, YourParentTransform.transform, delegate (bool a)
            {
                CheckBox.text.text = (a ? "✓" : "X");
            }, Color.white, Color.magenta, null, false, false, true, false, null, true);