Skip to main content

Separator

separator

The separator creates a visual line to divide different sections or elements in the interface.

See the SeparatorDemo.cs.

namespace Gridrand.RimGui.Manual
{
/// <summary>
/// Demonstrates the use of a separator widget in the GUI.
/// The separator creates a visual line to divide different sections or elements in the interface.
/// </summary>
class SeparatorDemo : ManualBase, IManual
{
public SeparatorDemo(ManualBaseResource p) : base(p)
{
}

public void Draw()
{
// Adds a horizontal line separator to the UI for visual distinction between sections.
Gui.Separator();
}
}

}