ImgGui.Button() function is not rendering in my program (.NET 7, ImGui.net ver 1.90.0.1, Veldrid.ImGui ver 5.72.0, ClickableTransparentOverlay ver 9.1.0, SixLabors.ImageSharp ver 3.0.2, Vortice.Mathematics ver 1.7.2) #450
Depending on where I place it, a debug panel is instanced with nothing inside it, or nothing happens and the code executes as if the button isn't there.
if (ImGui.Button("Button"))
{
slide = 100; //this is assigning a number to an integer variable that is shared by a slider.
}
The button should be below the check box and above the "You chose: person1" text output. This version of the code does not instance the debug panel and just runs was if the function was never there.
Depending on where I place it, a debug panel is instanced with nothing inside it, or nothing happens and the code executes as if the button isn't there.
The button should be below the check box and above the "You chose: person1" text output. This version of the code does not instance the debug panel and just runs was if the function was never there.