Class MARSEditorGUI
Custom editor styles used in the MARS Editor
Inheritance
MARSEditorGUI
Syntax
public static class MARSEditorGUI
Fields
IndentSize
Declaration
public const float IndentSize = 15F
Field Value
MaxWindowSize
Value to use for Max window size that is larger than can be reasonably used
but does not lock the window resizing functionality.
Declaration
public const float MaxWindowSize = 1000000F
Field Value
SettingsLabelWidth
Declaration
public const float SettingsLabelWidth = 215F
Field Value
Properties
InternalEditorStyles
Editor GUI Styles from Unity's managed gui.
Declaration
public static MARSEditorGUI.InternalEditorStylesSettings InternalEditorStyles { get; }
Property Value
Styles
Editor GUI Styles and resources for the MARS Editor.
Declaration
public static MARSEditorGUI.MARSStyles Styles { get; }
Property Value
Methods
Declaration
public static void ButtonSpacer()
DrawReloadButton(GUIContent, GUIStyle, GUILayoutOption[])
Declaration
public static void DrawReloadButton(GUIContent content, GUIStyle style, params GUILayoutOption[] options)
Parameters
Type |
Name |
Description |
GUIContent |
content |
|
GUIStyle |
style |
|
GUILayoutOption[] |
options |
|
GetDropDownButtonRect(GUIContent, GUIStyle, Single)
Declaration
public static Rect GetDropDownButtonRect(GUIContent content, GUIStyle style, float height)
Parameters
Type |
Name |
Description |
GUIContent |
content |
|
GUIStyle |
style |
|
Single |
height |
|
Returns