Skip to content

MoreEditorGUI

Namespace: SideXP.Core.EditorOnly

public class MoreEditorGUI

Miscellaneous functions for drawing user interfaces in the editor.

Fields

ScriptProperty

public const string ScriptProperty = "m_Script"

SeparatorColor

public static readonly Color SeparatorColor

DarkSeparatorColor

public static readonly Color DarkSeparatorColor

DefaultSeparatorSize

public const float DefaultSeparatorSize = 2

Properties

IconButtonStyle

public static GUIStyle IconButtonStyle

The custom style used for buttons that just contains an icon.

TitleStyle

public static GUIStyle TitleStyle

The custom style for titles.

Methods

DrawDefaultInspector(Object, string[])

public static void DrawDefaultInspector(Object obj, params string[] ignoredProperties)

Parameters

  • obj: The object of which you want to draw the inspector.

DrawDefaultInspector(Object, IEnumerable<string>, IEnumerable<string>)

public static void DrawDefaultInspector(Object obj, IEnumerable<string> ignoredProperties, IEnumerable<string> delveProperties)

Draws the default inspector of a given object, without the script property.

Parameters

  • obj: The object of which you want to draw the inspector.

DrawDefaultInspector(SerializedObject, string[])

public static void DrawDefaultInspector(SerializedObject serializedObj, params string[] ignoredProperties)

Draws the default inspector of a given object, without the script property.

Parameters

  • serializedObj: The serialized representation of the object of which you want to draw the inspector.

DrawDefaultInspector(SerializedObject, IEnumerable<string>, IEnumerable<string>)

public static void DrawDefaultInspector(SerializedObject serializedObj, IEnumerable<string> ignoredProperties, IEnumerable<string> delveProperties)

Draws the default inspector of a given object, without the script property.

Parameters

  • serializedObj: The serialized representation of the object of which you want to draw the inspector.
  • ignoredProperties: The name of the properties that should not appear in the inspector.
  • delveProperties: The name of the properties that should be "delved". Delved properties are skipped, but they child properties are still displayed. In the inspector, this will result in displaying the child properties without foldout field above to expand the parent.

Returns

Returns true if the property field has been drawn on GUI.

DrawPropertyField(SerializedProperty)

public static bool DrawPropertyField(SerializedProperty property)

Draws the property field for the given property if it's not ignored.

Parameters

  • property: The property of which you want to draw the field, if applicable.

Returns

Returns true if the property field has been drawn on GUI.

DrawPropertyField(SerializedProperty, IEnumerable<string>, IEnumerable<string>)

public static bool DrawPropertyField(SerializedProperty property, IEnumerable<string> ignoredProperties, IEnumerable<string> delveProperties)

Draws the property field for the given property if it's not ignored.

Parameters

  • property: The property of which you want to draw the field, if applicable.
  • ignoredProperties: The name of the properties that should not appear in the inspector.
  • delveProperties: The name of the properties that should be "delved". Delved properties are skipped, but they child properties are still displayed. In the inspector, this will result in displaying the child properties without foldout field above to expand the parent.

Returns

Returns true if the property field has been drawn on GUI.

PropertyField(object, Rect, FieldInfo, GUIContent)

public static bool PropertyField(object obj, Rect position, FieldInfo field, GUIContent label)

Draws a field in the inspector for a value that doesn't have a serialized representation.

Parameters

  • obj: The object that owns the field.
  • position: Rectangle on the screen to use for the field.
  • field: The reflection info about the field.
  • label: The label of the field to draw on GUI.

Returns

Returns true if the value changed.

Remarks

Supported property types: - float - int - bool - string - enum - Object - Vector2 - Vector3 - Vector4 - Quaternion - Vector2Int - Vector3Int

PropertyField(object, Rect, FieldInfo, string)

public static bool PropertyField(object obj, Rect position, FieldInfo field, string label)

Draws a field in the inspector for a value that doesn't have a serialized representation.

Parameters

  • obj: The object that owns the field.
  • position: Rectangle on the screen to use for the field.
  • field: The reflection info about the field.
  • label: The label of the field to draw on GUI.

Returns

Returns true if the value changed.

Remarks

Supported property types: - float - int - bool - string - enum - Object - Vector2 - Vector3 - Vector4 - Quaternion - Vector2Int - Vector3Int

PropertyField(object, Rect, FieldInfo, bool)

public static bool PropertyField(object obj, Rect position, FieldInfo field, bool autoLabel = false)

Draws a field in the inspector for a value that doesn't have a serialized representation.

Parameters

  • autoLabel: If enabled, this function creates a GUIContent to use as label for the field, using the name of the field as text, and optionally the content of its TooltipAttribute as tooltip.
  • obj: The object that owns the field.
  • position: Rectangle on the screen to use for the field.
  • field: The reflection info about the field.

Returns

Returns true if the value changed.

Remarks

Supported property types: - float - int - bool - string - enum - Object - Vector2 - Vector3 - Vector4 - Quaternion - Vector2Int - Vector3Int

PropertyField(object, FieldInfo, GUIContent)

public static bool PropertyField(object obj, FieldInfo field, GUIContent label)

Draws a field in the inspector for a value that doesn't have a serialized representation.

Parameters

  • obj: The object that owns the field.
  • field: The reflection info about the field.
  • label: The label of the field to draw on GUI.

Returns

Returns true if the value changed.

Remarks

Uses layout GUI.

PropertyField(object, FieldInfo, string)

public static bool PropertyField(object obj, FieldInfo field, string label)

Remarks

Uses layout GUI.

PropertyField(object, FieldInfo, bool)

public static bool PropertyField(object obj, FieldInfo field, bool autoLabel = false)

Remarks

Uses layout GUI.

FloatField(Rect, float, GUIContent, GUIStyle)

public static float FloatField(Rect position, float value, GUIContent label, GUIStyle style = null)

Makes a text field for entering floats.

Parameters

  • value: The value to edit.
  • style: Optional GUIStyle.
  • position: Rectangle on the screen to use for the field.
  • label: The label of the field to draw on GUI.

Returns

The value entered by the user.

Remarks

Supported property types: - float - int - bool - string - enum - Object - Vector2 - Vector3 - Vector4 - Quaternion - Vector2Int - Vector3Int

FloatField(Rect, float, string, GUIStyle)

public static float FloatField(Rect position, float value, string label, GUIStyle style = null)

Makes a text field for entering floats.

Parameters

  • value: The value to edit.
  • style: Optional GUIStyle.

Returns

The value entered by the user.

FloatField(Rect, float)

public static float FloatField(Rect position, float value)

Makes a text field for entering floats.

Parameters

  • value: The value to edit.

Returns

The value entered by the user.

FloatField(float, GUIContent, GUIStyle)

public static float FloatField(float value, GUIContent label, GUIStyle style = null)

Makes a text field for entering floats.

Parameters

  • value: The value to edit.
  • style: Optional GUIStyle.

Returns

The value entered by the user.

FloatField(float, string, GUIStyle)

public static float FloatField(float value, string label, GUIStyle style = null)

Makes a text field for entering floats.

Parameters

  • value: The value to edit.
  • style: Optional GUIStyle.

Returns

The value entered by the user.

FloatField(float)

public static float FloatField(float value)

Makes a text field for entering floats.

Parameters

  • value: The value to edit.

Returns

The value entered by the user.

IntField(Rect, int, GUIContent, GUIStyle)

public static int IntField(Rect position, int value, GUIContent label, GUIStyle style = null)

Makes a text field for entering integers.

Parameters

  • value: The value to edit.
  • style: Optional GUIStyle.

Returns

The value entered by the user.

IntField(Rect, int, string, GUIStyle)

public static int IntField(Rect position, int value, string label, GUIStyle style = null)

Makes a text field for entering integers.

IntField(Rect, int)

public static int IntField(Rect position, int value)

Makes a text field for entering integers.

IntField(int, GUIContent, GUIStyle)

public static int IntField(int value, GUIContent label, GUIStyle style = null)

Makes a text field for entering integers.

IntField(int, string, GUIStyle)

public static int IntField(int value, string label, GUIStyle style = null)

Inherited documentation.

IntField(int)

public static int IntField(int value)

Inherited documentation.

ToggleField(Rect, bool, GUIContent, GUIStyle)

public static bool ToggleField(Rect position, bool value, GUIContent label, GUIStyle style = null)

Makes a toggle.

Parameters

  • value: The value to edit.
  • style: Optional GUIStyle.

Returns

The value entered by the user.

ToggleField(Rect, bool, string, GUIStyle)

public static bool ToggleField(Rect position, bool value, string label, GUIStyle style = null)

Makes a toggle.

ToggleField(Rect, bool)

public static bool ToggleField(Rect position, bool value)

Makes a toggle.

ToggleField(bool, GUIContent, GUIStyle)

public static bool ToggleField(bool value, GUIContent label, GUIStyle style = null)

Makes a toggle.

ToggleField(bool, string, GUIStyle)

public static bool ToggleField(bool value, string label, GUIStyle style = null)

Inherited documentation.

ToggleField(bool)

public static bool ToggleField(bool value)

Inherited documentation.

TextField(Rect, string, GUIContent, GUIStyle)

public static string TextField(Rect position, string value, GUIContent label, GUIStyle style = null)

Makes a text field.

Parameters

  • value: The value to edit.
  • style: Optional GUIStyle.

Returns

The value entered by the user.

TextField(Rect, string, string, GUIStyle)

public static string TextField(Rect position, string value, string label, GUIStyle style = null)

Makes a text field.

TextField(Rect, string)

public static string TextField(Rect position, string value)

Makes a text field.

TextField(string, GUIContent, GUIStyle)

public static string TextField(string value, GUIContent label, GUIStyle style = null)

Makes a text field.

TextField(string, string, GUIStyle)

public static string TextField(string value, string label, GUIStyle style = null)

Inherited documentation.

TextField(string)

public static string TextField(string value)

Inherited documentation.

EnumPopupField(Rect, Enum, GUIContent, GUIStyle)

public static Enum EnumPopupField(Rect position, Enum value, GUIContent label, GUIStyle style = null)

Makes an enum popup selection field.

Parameters

  • value: The value to edit.
  • style: Optional GUIStyle.

Returns

The value entered by the user.

EnumPopupField(Rect, Enum, string, GUIStyle)

public static Enum EnumPopupField(Rect position, Enum value, string label, GUIStyle style = null)

Makes an enum popup selection field.

EnumPopupField(Rect, Enum)

public static Enum EnumPopupField(Rect position, Enum value)

Makes an enum popup selection field.

EnumPopupField(Enum, GUIContent, GUIStyle)

public static Enum EnumPopupField(Enum value, GUIContent label, GUIStyle style = null)

Makes an enum popup selection field.

EnumPopupField(Enum, string, GUIStyle)

public static Enum EnumPopupField(Enum value, string label, GUIStyle style = null)

Inherited documentation.

EnumPopupField(Enum)

public static Enum EnumPopupField(Enum value)

Inherited documentation.

ObjectField(Rect, Object, Type, GUIContent, bool)

public static Object ObjectField(Rect position, Object value, Type type, GUIContent label, bool allowSceneObjects = true)

Makes an object field. You can assign objects either by drag and drop objects or by selecting an object using the Object Picker.

Parameters

  • type: The type of the objects that can be assigned.
  • value: The value to edit.

Returns

The value entered by the user.

ObjectField(Rect, Object, Type, string, bool)

public static Object ObjectField(Rect position, Object value, Type type, string label, bool allowSceneObjects = true)

Makes an object field. You can assign objects either by drag and drop objects or by selecting an object using the Object Picker.

Parameters

  • type: The type of the objects that can be assigned.

ObjectField(Rect, Object, Type, bool)

public static Object ObjectField(Rect position, Object value, Type type, bool allowSceneObjects = true)

Makes an object field. You can assign objects either by drag and drop objects or by selecting an object using the Object Picker.

Parameters

  • type: The type of the objects that can be assigned.

ObjectField(Object, Type, GUIContent, bool)

public static Object ObjectField(Object value, Type type, GUIContent label, bool allowSceneObjects = true)

Makes an object field. You can assign objects either by drag and drop objects or by selecting an object using the Object Picker.

Parameters

  • type: The type of the objects that can be assigned.

ObjectField(Object, Type, string, bool)

public static Object ObjectField(Object value, Type type, string label, bool allowSceneObjects = true)

Inherited documentation.

ObjectField(Object, Type, bool)

public static Object ObjectField(Object value, Type type, bool allowSceneObjects = true)

Inherited documentation.

Vector2Field(Rect, Vector2, GUIContent)

public static Vector2 Vector2Field(Rect position, Vector2 value, GUIContent label)

Makes an X and Y field for entering a Vector2.

Parameters

  • value: The value to edit.

Returns

The value entered by the user.

Vector2Field(Rect, Vector2, string)

public static Vector2 Vector2Field(Rect position, Vector2 value, string label)

Makes an X and Y field for entering a Vector2.

Vector2Field(Rect, Vector2)

public static Vector2 Vector2Field(Rect position, Vector2 value)

Makes an X and Y field for entering a Vector2.

Vector2Field(Vector2, GUIContent)

public static Vector2 Vector2Field(Vector2 value, GUIContent label)

Makes an X and Y field for entering a Vector2.

Vector2Field(Vector2, string)

public static Vector2 Vector2Field(Vector2 value, string label)

Inherited documentation.

Vector2Field(Vector2)

public static Vector2 Vector2Field(Vector2 value)

Inherited documentation.

Vector3Field(Rect, Vector3, GUIContent)

public static Vector3 Vector3Field(Rect position, Vector3 value, GUIContent label)

Makes an X, Y and Z field for entering a Vector3.

Parameters

  • value: The value to edit.

Returns

The value entered by the user.

Vector3Field(Rect, Vector3, string)

public static Vector3 Vector3Field(Rect position, Vector3 value, string label)

Makes an X, Y and Z field for entering a Vector3.

Vector3Field(Rect, Vector3)

public static Vector3 Vector3Field(Rect position, Vector3 value)

Makes an X, Y and Z field for entering a Vector3.

Vector3Field(Vector3, GUIContent)

public static Vector3 Vector3Field(Vector3 value, GUIContent label)

Makes an X, Y and Z field for entering a Vector3.

Vector3Field(Vector3, string)

public static Vector3 Vector3Field(Vector3 value, string label)

Inherited documentation.

Vector3Field(Vector3)

public static Vector3 Vector3Field(Vector3 value)

Inherited documentation.

Vector4Field(Rect, Vector4, GUIContent)

public static Vector4 Vector4Field(Rect position, Vector4 value, GUIContent label)

Makes an X, Y, Z and W field for entering a Vector4.

Parameters

  • value: The value to edit.

Returns

The value entered by the user.

Vector4Field(Rect, Vector4, string)

public static Vector4 Vector4Field(Rect position, Vector4 value, string label)

Makes an X, Y, Z and W field for entering a Vector4.

Vector4Field(Rect, Vector4)

public static Vector4 Vector4Field(Rect position, Vector4 value)

Makes an X, Y, Z and W field for entering a Vector4.

Vector4Field(Vector4, GUIContent)

public static Vector4 Vector4Field(Vector4 value, GUIContent label)

Makes an X, Y, Z and W field for entering a Vector4.

Vector4Field(Vector4, string)

public static Vector4 Vector4Field(Vector4 value, string label)

Inherited documentation.

Vector4Field(Vector4)

public static Vector4 Vector4Field(Vector4 value)

Inherited documentation.

QuaternionField(Rect, Quaternion, GUIContent)

public static Quaternion QuaternionField(Rect position, Quaternion value, GUIContent label)

Makes an X, Y and Z field for entering a Quaternion as euler angles.

Parameters

  • value: The value to edit.

Returns

The value entered by the user.

QuaternionField(Rect, Quaternion, string)

public static Quaternion QuaternionField(Rect position, Quaternion value, string label)

Makes an X, Y and Z field for entering a Quaternion as euler angles.

QuaternionField(Rect, Quaternion)

public static Quaternion QuaternionField(Rect position, Quaternion value)

Makes an X, Y and Z field for entering a Quaternion as euler angles.

QuaternionField(Quaternion, GUIContent)

public static Quaternion QuaternionField(Quaternion value, GUIContent label)

Makes an X, Y and Z field for entering a Quaternion as euler angles.

QuaternionField(Quaternion, string)

public static Quaternion QuaternionField(Quaternion value, string label)

Inherited documentation.

QuaternionField(Quaternion)

public static Quaternion QuaternionField(Quaternion value)

Inherited documentation.

Vector2IntField(Rect, Vector2Int, GUIContent)

public static Vector2Int Vector2IntField(Rect position, Vector2Int value, GUIContent label)

Makes an X and Y field for entering a Vector2Int.

Parameters

  • value: The value to edit.

Returns

The value entered by the user.

Vector2IntField(Rect, Vector2Int, string)

public static Vector2Int Vector2IntField(Rect position, Vector2Int value, string label)

Makes an X and Y field for entering a Vector2Int.

Vector2IntField(Rect, Vector2Int)

public static Vector2Int Vector2IntField(Rect position, Vector2Int value)

Makes an X and Y field for entering a Vector2Int.

Vector2IntField(Vector2Int, GUIContent)

public static Vector2Int Vector2IntField(Vector2Int value, GUIContent label)

Makes an X and Y field for entering a Vector2Int.

Vector2IntField(Vector2Int, string)

public static Vector2Int Vector2IntField(Vector2Int value, string label)

Inherited documentation.

Vector2IntField(Vector2Int)

public static Vector2Int Vector2IntField(Vector2Int value)

Inherited documentation.

Vector3IntField(Rect, Vector3Int, GUIContent)

public static Vector3Int Vector3IntField(Rect position, Vector3Int value, GUIContent label)

Makes an X, Y and Z field for entering a Vector3Int.

Parameters

  • value: The value to edit.

Returns

The value entered by the user.

Vector3IntField(Rect, Vector3Int, string)

public static Vector3Int Vector3IntField(Rect position, Vector3Int value, string label)

Makes an X, Y and Z field for entering a Vector3Int.

Vector3IntField(Rect, Vector3Int)

public static Vector3Int Vector3IntField(Rect position, Vector3Int value)

Makes an X, Y and Z field for entering a Vector3Int.

Vector3IntField(Vector3Int, GUIContent)

public static Vector3Int Vector3IntField(Vector3Int value, GUIContent label)

Makes an X, Y and Z field for entering a Vector3Int.

Vector3IntField(Vector3Int, string)

public static Vector3Int Vector3IntField(Vector3Int value, string label)

Inherited documentation.

Vector3IntField(Vector3Int)

public static Vector3Int Vector3IntField(Vector3Int value)

Inherited documentation.

AssetNameField(Object, GUILayoutOption[])

public static bool AssetNameField(Object asset, params GUILayoutOption[] options)

Parameters

  • options: Options for drawing the field.

AssetNameField(string, Object, GUILayoutOption[])

public static bool AssetNameField(string label, Object asset, params GUILayoutOption[] options)

Parameters

  • options: Options for drawing the field.

AssetNameField(GUIContent, Object, GUILayoutOption[])

public static bool AssetNameField(GUIContent label, Object asset, params GUILayoutOption[] options)

Draws a delayed text field

Parameters

  • options: Options for drawing the field.
  • label: The label of the field. If not provided, only the field is displayed.
  • asset: The asset to rename.

Returns

Returns true if the name has been changed.

AssetNameField(Rect, Object)

public static bool AssetNameField(Rect position, Object asset)

Draws a delayed text field

Parameters

  • position: The available area for drawing the field.
  • asset: The asset to rename.

Returns

Returns true if the name has been changed.

AssetNameField(Rect, string, Object)

public static bool AssetNameField(Rect position, string label, Object asset)

Draws a delayed text field

Parameters

  • position: The available area for drawing the field.
  • label: The label of the field. If not provided, only the field is displayed.
  • asset: The asset to rename.

Returns

Returns true if the name has been changed.

AssetNameField(Rect, GUIContent, Object)

public static bool AssetNameField(Rect position, GUIContent label, Object asset)

Draws a delayed text field

Parameters

  • position: The available area for drawing the field.
  • label: The label of the field. If not provided, only the field is displayed.
  • asset: The asset to rename.

Returns

Returns true if the name has been changed.

PaginationField(Pagination)

public static void PaginationField(ref Pagination pagination)

Draws a field to edit the given pagination value.

Parameters

  • pagination: The pagination value to edit.

PaginationField(string, Pagination)

public static void PaginationField(string label, ref Pagination pagination)

Draws a field to edit the given pagination value.

Parameters

  • label: The label of the field.
  • pagination: The pagination value to edit.

PaginationField(GUIContent, Pagination)

public static void PaginationField(GUIContent label, ref Pagination pagination)

Draws a field to edit the given pagination value.

Parameters

  • label: The label of the field.
  • pagination: The pagination value to edit.

PaginationField(Rect, Pagination)

public static void PaginationField(Rect position, ref Pagination pagination)

Draws a field to edit the given pagination value.

Parameters

  • position: The position and size of the field.
  • pagination: The pagination value to edit.

PaginationField(Rect, string, Pagination)

public static void PaginationField(Rect position, string label, ref Pagination pagination)

Draws a field to edit the given pagination value.

Parameters

  • label: The label of the field.
  • position: The position and size of the field.
  • pagination: The pagination value to edit.

PaginationField(Rect, GUIContent, Pagination)

public static void PaginationField(Rect position, GUIContent label, ref Pagination pagination)

Draws a field to edit the given pagination value.

Parameters

  • label: The label of the field.
  • position: The position and size of the field.
  • pagination: The pagination value to edit.

FolderPathField(Rect, GUIContent, string, string, string, bool)

public static string FolderPathField(Rect position, GUIContent label, string path, string title, string defaultName, bool allowExternal = false)

Draws a field in the inspector to select a directory.

Parameters

  • position: The position of the field on the GUI.
  • label: The label of the field.
  • path: The current path value.
  • title: The title of the "select folder" panel.
  • defaultName: The default name of the folder to select.
  • allowExternal: By default, this function only allow user to select a path to a directory inside the current project. If enabled, the user can select a path outside the current project. Note that the path won't be converted into a relative path if it's outside of the project.

Returns

Returns the selected directory path.

FolderPathField(Rect, string, string, string, string, bool)

public static string FolderPathField(Rect position, string label, string path, string title, string defaultName, bool allowExternal = false)

Draws a field in the inspector to select a directory.

Parameters

  • position: The position of the field on the GUI.
  • label: The label of the field.
  • path: The current path value.
  • title: The title of the "select folder" panel.
  • defaultName: The default name of the folder to select.
  • allowExternal: By default, this function only allow user to select a path to a directory inside the current project. If enabled, the user can select a path outside the current project. Note that the path won't be converted into a relative path if it's outside of the project.

Returns

Returns the selected directory path.

FolderPathField(GUIContent, string, string, string, bool)

public static string FolderPathField(GUIContent label, string path, string title, string defaultName, bool allowExternal = false)

Draws a field in the inspector to select a directory.

Parameters

  • label: The label of the field.
  • path: The current path value.
  • title: The title of the "select folder" panel.
  • defaultName: The default name of the folder to select.
  • allowExternal: By default, this function only allow user to select a path to a directory inside the current project. If enabled, the user can select a path outside the current project. Note that the path won't be converted into a relative path if it's outside of the project.

Returns

Returns the selected directory path.

FolderPathField(string, string, string, string, bool)

public static string FolderPathField(string label, string path, string title, string defaultName, bool allowExternal = false)

Draws a field in the inspector to select a directory.

Parameters

  • label: The label of the field.
  • path: The current path value.
  • title: The title of the "select folder" panel.
  • defaultName: The default name of the folder to select.
  • allowExternal: By default, this function only allow user to select a path to a directory inside the current project. If enabled, the user can select a path outside the current project. Note that the path won't be converted into a relative path if it's outside of the project.

Returns

Returns the selected directory path.

HorizontalSeparator(bool, bool)

public static void HorizontalSeparator(bool wide = false, bool dark = false)

Parameters

  • dark: If enabled, uses the dark separator color.

HorizontalSeparator(float, bool, bool)

public static void HorizontalSeparator(float size, bool wide = false, bool dark = false)

Draws an horizontal line.

Parameters

  • dark: If enabled, uses the dark separator color.
  • size: The height of the separator.
  • wide: If enabled, the separator will use the full view width. This is designed to draw a separator that doesn't use the margins in the inspector window.

HorizontalSeparator(float, Color, bool)

public static void HorizontalSeparator(float size, Color color, bool wide = false)

Draws an horizontal line.

Parameters

  • size: The height of the separator.
  • color: The color of the separator.
  • wide: If enabled, the separator will use the full view width. This is designed to draw a separator that doesn't use the margins in the inspector window.

VerticalSeparator(float, Color)

public static void VerticalSeparator(float size, Color color)

Draws a vertical line.

Parameters

  • size: The width of the separator.
  • color: The color of the separator.

VerticalSeparator(float)

public static void VerticalSeparator(float size)

Draws a vertical line.

Parameters

  • size: The width of the separator.

VerticalSeparator()

public static void VerticalSeparator()

Draws a vertical line.