Table of Contents

Method Splitter

Namespace
Gamelogic.Extensions.Editor
Assembly
Gamelogic.Extensions.Editor.dll

Splitter(Color, float)

Draws a horizontal splitter line with the specified color and thickness using GUILayout.

public static void Splitter(Color rgb, float thickness = 1)

Parameters

rgb Color

The color of the splitter.

thickness float

The thickness of the splitter in pixels.

Splitter(float, GUIStyle)

Draws a horizontal splitter line with the specified thickness and style using GUILayout.

public static void Splitter(float thickness, GUIStyle splitterStyle)

Parameters

thickness float

The thickness of the splitter in pixels.

splitterStyle GUIStyle

The UnityEngine.GUIStyle to use for drawing.

Splitter(float)

Draws a horizontal splitter line with the default style and the specified thickness using GUILayout.

public static void Splitter(float thickness = 1)

Parameters

thickness float

The thickness of the splitter in pixels.

Splitter(Rect)

Draws a horizontal splitter line at the specified position.

public static void Splitter(Rect position)

Parameters

position Rect

The rectangle defining the position and size of the splitter.