Creating Text Labels - PlagueVRC/PlagueButtonAPI GitHub Wiki
To Create Text In A SubMenu (See "Creating Buttons" On The Right For How To Create SubMenus), Use:
ButtonAPI.CreateText(ButtonAPI.ButtonType.Toggle, ButtonAPI.SizeType.ButtonSize, "Some Text"/*Text*/, "Just Some Text"/*ToolTip*/, ButtonAPI.HorizontalPosition.FirstButtonPos, ButtonAPI.VerticalPosition.SecondButton, YourParentTransform.transform, true/*Clickable, If You Want The Text To Be Able To Be Selectable Or Not*/, true/*ChangeColourOnClick, If You Want The Text To Change Between The Two Colours Set Later, On Only The OffColour*/, delegate (bool a)
{
//Ran When The Text Is Clicked
}, false/*CurrentToggleState, The Toggle State Of The Text On Creation*/, Color.magenta/*OnColour, When Toggled On The Text Is This Colour (If ChangeColourOnClick Is True)*/, Color.white/*OffColour, When The Text Is Toggled Off The Text Is This Colour*/);