|
static GUIStyle | FindStyle (string styleName) |
|
static void | PushLabelWidth (float width) |
| Pushes the old editor label width, and sets the new More...
|
|
static void | PushLabelWidthRelative (float relative) |
| Pushes the old editor label width, and adds the relative value More...
|
|
static void | PopLabelWidth () |
| Pops the old editor label width More...
|
|
static void | PushLabelColor (Color color) |
| Pushes the old label color, and sets the new More...
|
|
static void | PopLabelColor () |
| Pops the old label color More...
|
|
static void | ClearFocusControl () |
|
static void | HorizontalLine (float thickness=1) |
|
static void | HorizontalLine (Color color, float thickness=1) |
|
static void | DrawSplitter () |
| Draw a splitter separator. This is based on the RenderFeature splitter code. More...
|
|
static void | RectOutline (Rect rect, int width, Color color) |
|
static void | RectOutline (Rect rect, int left, int right, int top, int bottom, Color color) |
|
static void | DrawToolbar (Rect rect) |
|
static Rect | BeginHorizontalToolbar (float height=22f) |
|
static void | EndHorizontalToolbar () |
|
static Rect | BeginGroupHeader () |
|
static void | EndGroupHeader () |
|
static void | EndBoxGroup () |
|
static void | EndGroupContainer () |
|
static Rect | BeginGroupContainer (GUIStyle style=null) |
|
static Rect | BeginBoxGroup (GUIContent label, GUIStyle containerStyle=null, bool centerLabel=false) |
|
static void | DrawRect (Rect rect, Color color) |
|
static bool | DrawHeaderFoldout (GUIContent title, bool state, bool isBoxed=false, Action< Vector2 > contextAction=null) |
| Based on UnityEditor.Rendering.CoreEditorUtils.DrawHeaderToggle() More...
|
|
static Rect | MoveToNextLine (Rect rect) |
|
static Rect | WithSingleLineHeight (Rect rect) |
|
◆ BeginBoxGroup()
static Rect Megapop.MegaCore.Editor.MegaEditorGui.BeginBoxGroup |
( |
GUIContent |
label, |
|
|
GUIStyle |
containerStyle = null , |
|
|
bool |
centerLabel = false |
|
) |
| |
|
inlinestatic |
◆ BeginGroupContainer()
static Rect Megapop.MegaCore.Editor.MegaEditorGui.BeginGroupContainer |
( |
GUIStyle |
style = null | ) |
|
|
inlinestatic |
◆ BeginGroupHeader()
static Rect Megapop.MegaCore.Editor.MegaEditorGui.BeginGroupHeader |
( |
| ) |
|
|
inlinestatic |
◆ BeginHorizontalToolbar()
static Rect Megapop.MegaCore.Editor.MegaEditorGui.BeginHorizontalToolbar |
( |
float |
height = 22f | ) |
|
|
inlinestatic |
◆ ClearFocusControl()
static void Megapop.MegaCore.Editor.MegaEditorGui.ClearFocusControl |
( |
| ) |
|
|
inlinestatic |
◆ DrawHeaderFoldout()
static bool Megapop.MegaCore.Editor.MegaEditorGui.DrawHeaderFoldout |
( |
GUIContent |
title, |
|
|
bool |
state, |
|
|
bool |
isBoxed = false , |
|
|
Action< Vector2 > |
contextAction = null |
|
) |
| |
|
inlinestatic |
Based on UnityEditor.Rendering.CoreEditorUtils.DrawHeaderToggle()
◆ DrawRect()
static void Megapop.MegaCore.Editor.MegaEditorGui.DrawRect |
( |
Rect |
rect, |
|
|
Color |
color |
|
) |
| |
|
inlinestatic |
◆ DrawSplitter()
static void Megapop.MegaCore.Editor.MegaEditorGui.DrawSplitter |
( |
| ) |
|
|
inlinestatic |
Draw a splitter separator. This is based on the RenderFeature splitter code.
- Parameters
-
isBoxed | [Optional] add margin if the splitter is boxed |
◆ DrawToolbar()
static void Megapop.MegaCore.Editor.MegaEditorGui.DrawToolbar |
( |
Rect |
rect | ) |
|
|
inlinestatic |
◆ EndBoxGroup()
static void Megapop.MegaCore.Editor.MegaEditorGui.EndBoxGroup |
( |
| ) |
|
|
inlinestatic |
◆ EndGroupContainer()
static void Megapop.MegaCore.Editor.MegaEditorGui.EndGroupContainer |
( |
| ) |
|
|
inlinestatic |
◆ EndGroupHeader()
static void Megapop.MegaCore.Editor.MegaEditorGui.EndGroupHeader |
( |
| ) |
|
|
inlinestatic |
◆ EndHorizontalToolbar()
static void Megapop.MegaCore.Editor.MegaEditorGui.EndHorizontalToolbar |
( |
| ) |
|
|
inlinestatic |
◆ FindStyle()
static GUIStyle Megapop.MegaCore.Editor.MegaEditorGui.FindStyle |
( |
string |
styleName | ) |
|
|
static |
◆ HorizontalLine() [1/2]
static void Megapop.MegaCore.Editor.MegaEditorGui.HorizontalLine |
( |
Color |
color, |
|
|
float |
thickness = 1 |
|
) |
| |
|
inlinestatic |
◆ HorizontalLine() [2/2]
static void Megapop.MegaCore.Editor.MegaEditorGui.HorizontalLine |
( |
float |
thickness = 1 | ) |
|
|
static |
◆ MoveToNextLine()
static Rect Megapop.MegaCore.Editor.MegaEditorGui.MoveToNextLine |
( |
Rect |
rect | ) |
|
|
inlinestatic |
◆ PopLabelColor()
static void Megapop.MegaCore.Editor.MegaEditorGui.PopLabelColor |
( |
| ) |
|
|
inlinestatic |
◆ PopLabelWidth()
static void Megapop.MegaCore.Editor.MegaEditorGui.PopLabelWidth |
( |
| ) |
|
|
inlinestatic |
Pops the old editor label width
◆ PushLabelColor()
static void Megapop.MegaCore.Editor.MegaEditorGui.PushLabelColor |
( |
Color |
color | ) |
|
|
inlinestatic |
Pushes the old label color, and sets the new
◆ PushLabelWidth()
static void Megapop.MegaCore.Editor.MegaEditorGui.PushLabelWidth |
( |
float |
width | ) |
|
|
inlinestatic |
Pushes the old editor label width, and sets the new
◆ PushLabelWidthRelative()
static void Megapop.MegaCore.Editor.MegaEditorGui.PushLabelWidthRelative |
( |
float |
relative | ) |
|
|
inlinestatic |
Pushes the old editor label width, and adds the relative value
◆ RectOutline() [1/2]
static void Megapop.MegaCore.Editor.MegaEditorGui.RectOutline |
( |
Rect |
rect, |
|
|
int |
left, |
|
|
int |
right, |
|
|
int |
top, |
|
|
int |
bottom, |
|
|
Color |
color |
|
) |
| |
|
inlinestatic |
◆ RectOutline() [2/2]
static void Megapop.MegaCore.Editor.MegaEditorGui.RectOutline |
( |
Rect |
rect, |
|
|
int |
width, |
|
|
Color |
color |
|
) |
| |
|
static |
◆ WithSingleLineHeight()
static Rect Megapop.MegaCore.Editor.MegaEditorGui.WithSingleLineHeight |
( |
Rect |
rect | ) |
|
|
inlinestatic |
◆ ShortcutModifiers
ShortcutModifiers Megapop.MegaCore.Editor.MegaEditorGui.ShortcutModifiers |
|
staticget |
The documentation for this class was generated from the following file: