Creating Sliders - PlagueVRC/PlagueButtonAPI GitHub Wiki

To Create A Slider In A SubMenu (See "Creating Buttons" On The Right For How To Create SubMenus), Use:

ButtonAPI.CreateSlider(YourParentTransform.transform, delegate (float v)
{
    //Ran When The Slider Is Edited By The User
}, (float)ButtonAPI.HorizontalPosition.FirstButtonPos, (float)ButtonAPI.VerticalPosition.TopButton, "Test Slider"/*Text Above The Slider*/, 15f/*The Initial Value When The Slider Is Created*/, 100f/*The Maximum Value The Slider Can Go*/, 0f/*The Minimum Value The Slider Can Go*/);