static void HSeparator()

This draws a line horizontally across the current layout. Makes a good separator between sections of UI!


Separating UI Visually

A window with text and a separator

A separator is a simple visual element that fills the window horizontally. It’s nothing complicated, but can help create visual association between groups of UI elements.

Pose windowPoseSeparator = new Pose(.6f, 0, 0, Quat.Identity);
void ShowWindowSeparator()
	UI.WindowBegin("Window Separator", ref windowPoseSeparator, UIWin.Body);

	UI.Label("Content Header");
	UI.Text("A separator can go a long way towards making your content "
	      + "easier to look at!", TextAlign.TopCenter);


Found an issue with these docs, or have some additional questions? Create an Issue on Github!