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
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
thicknessfloatThe thickness of the splitter in pixels.
splitterStyleGUIStyleThe 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
thicknessfloatThe thickness of the splitter in pixels.
Splitter(Rect)
Draws a horizontal splitter line at the specified position.
public static void Splitter(Rect position)
Parameters
positionRectThe rectangle defining the position and size of the splitter.