Skip to main content

SlidePad

The SlidePad allows the user to interact with a 2D control to manipulate a Vector2 value.

See the SlidePadDemo class.

// The SlidePad outputs a Vector2 value based on user input.
Gui.SlidePad(out Vector2 value);

Gui.Text($"{value.x:F2} , {value.y:F2}");