C# Class UnityEditor.EditorGUILayout

Auto-layouted version of EditorGUI.

显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
BeginFadeGroup ( float value ) : bool

Begins a group that can be be hidden/shown and the transition will be animated.

BeginHorizontal ( ) : Rect

Begin a horizontal group and get its rect back.

BeginHorizontal ( GUIStyle style ) : Rect

Begin a horizontal group and get its rect back.

BeginScrollView ( Vector2 scrollPosition ) : Vector2

Begin an automatically layouted scrollview.

BeginScrollView ( Vector2 scrollPosition, GUIStyle style ) : Vector2
BeginScrollView ( Vector2 scrollPosition, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar ) : Vector2

Begin an automatically layouted scrollview.

BeginScrollView ( Vector2 scrollPosition, bool alwaysShowHorizontal, bool alwaysShowVertical ) : Vector2

Begin an automatically layouted scrollview.

BeginScrollView ( Vector2 scrollPosition, bool alwaysShowHorizontal, bool alwaysShowVertical, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar, GUIStyle background ) : Vector2

Begin an automatically layouted scrollview.

BeginToggleGroup ( GUIContent label, bool toggle ) : bool

Begin a vertical group with a toggle to enable or disable all the controls within at once.

BeginToggleGroup ( string label, bool toggle ) : bool

Begin a vertical group with a toggle to enable or disable all the controls within at once.

BeginVertical ( ) : Rect

Begin a vertical group and get its rect back.

BeginVertical ( GUIStyle style ) : Rect

Begin a vertical group and get its rect back.

BoundsField ( Bounds value ) : Bounds

Make Center & Extents field for entering a Bounds.

BoundsField ( GUIContent label, Bounds value ) : Bounds

Make Center & Extents field for entering a Bounds.

BoundsField ( string label, Bounds value ) : Bounds

Make Center & Extents field for entering a Bounds.

ColorField ( Color value ) : Color

Make a field for selecting a Color.

ColorField ( GUIContent label, Color value ) : Color

Make a field for selecting a Color.

ColorField ( GUIContent label, Color value, bool showEyedropper, bool showAlpha, bool hdr, ColorPickerHDRConfig hdrConfig ) : Color

Make a field for selecting a Color.

ColorField ( string label, Color value ) : Color

Make a field for selecting a Color.

CurveField ( AnimationCurve value ) : AnimationCurve

Make a field for editing an AnimationCurve.

CurveField ( AnimationCurve value, Color color, Rect ranges ) : AnimationCurve

Make a field for editing an AnimationCurve.

CurveField ( GUIContent label, AnimationCurve value ) : AnimationCurve

Make a field for editing an AnimationCurve.

CurveField ( GUIContent label, AnimationCurve value, Color color, Rect ranges ) : AnimationCurve

Make a field for editing an AnimationCurve.

CurveField ( string label, AnimationCurve value ) : AnimationCurve

Make a field for editing an AnimationCurve.

CurveField ( string label, AnimationCurve value, Color color, Rect ranges ) : AnimationCurve

Make a field for editing an AnimationCurve.

CurveField ( UnityEditor.SerializedProperty property, Color color, Rect ranges ) : void

Make a field for editing an AnimationCurve.

CurveField ( UnityEditor.SerializedProperty property, Color color, Rect ranges, GUIContent label ) : void

Make a field for editing an AnimationCurve.

DelayedDoubleField ( GUIContent label, double value ) : double

Make a delayed text field for entering doubles.

DelayedDoubleField ( GUIContent label, double value, GUIStyle style ) : double

Make a delayed text field for entering doubles.

DelayedDoubleField ( double value ) : double

Make a delayed text field for entering doubles.

DelayedDoubleField ( double value, GUIStyle style ) : double

Make a delayed text field for entering doubles.

DelayedDoubleField ( string label, double value ) : double

Make a delayed text field for entering doubles.

DelayedDoubleField ( string label, double value, GUIStyle style ) : double

Make a delayed text field for entering doubles.

DelayedFloatField ( GUIContent label, float value ) : float

Make a delayed text field for entering floats.

DelayedFloatField ( GUIContent label, float value, GUIStyle style ) : float

Make a delayed text field for entering floats.

DelayedFloatField ( float value ) : float

Make a delayed text field for entering floats.

DelayedFloatField ( float value, GUIStyle style ) : float

Make a delayed text field for entering floats.

DelayedFloatField ( string label, float value ) : float

Make a delayed text field for entering floats.

DelayedFloatField ( string label, float value, GUIStyle style ) : float

Make a delayed text field for entering floats.

DelayedFloatField ( UnityEditor.SerializedProperty property ) : void

Make a delayed text field for entering floats.

DelayedFloatField ( UnityEditor.SerializedProperty property, GUIContent label ) : void

Make a delayed text field for entering floats.

DelayedIntField ( GUIContent label, int value ) : int

Make a delayed text field for entering integers.

DelayedIntField ( GUIContent label, int value, GUIStyle style ) : int

Make a delayed text field for entering integers.

DelayedIntField ( int value ) : int

Make a delayed text field for entering integers.

DelayedIntField ( int value, GUIStyle style ) : int

Make a delayed text field for entering integers.

DelayedIntField ( string label, int value ) : int

Make a delayed text field for entering integers.

DelayedIntField ( string label, int value, GUIStyle style ) : int

Make a delayed text field for entering integers.

DelayedIntField ( UnityEditor.SerializedProperty property ) : void

Make a delayed text field for entering integers.

DelayedIntField ( UnityEditor.SerializedProperty property, GUIContent label ) : void

Make a delayed text field for entering integers.

DelayedTextField ( GUIContent label, string text ) : string

Make a delayed text field.

DelayedTextField ( GUIContent label, string text, GUIStyle style ) : string

Make a delayed text field.

DelayedTextField ( string text ) : string

Make a delayed text field.

DelayedTextField ( string text, GUIStyle style ) : string

Make a delayed text field.

DelayedTextField ( string label, string text ) : string

Make a delayed text field.

DelayedTextField ( string label, string text, GUIStyle style ) : string

Make a delayed text field.

DelayedTextField ( UnityEditor.SerializedProperty property ) : void

Make a delayed text field.

DelayedTextField ( UnityEditor.SerializedProperty property, GUIContent label ) : void

Make a delayed text field.

DoubleField ( GUIContent label, double value ) : double

Make a text field for entering double values.

DoubleField ( GUIContent label, double value, GUIStyle style ) : double

Make a text field for entering double values.

DoubleField ( double value ) : double

Make a text field for entering double values.

DoubleField ( double value, GUIStyle style ) : double

Make a text field for entering double values.

DoubleField ( string label, double value ) : double

Make a text field for entering double values.

DoubleField ( string label, double value, GUIStyle style ) : double

Make a text field for entering double values.

EndFadeGroup ( ) : void

Closes a group started with BeginFadeGroup.

EndHorizontal ( ) : void

Close a group started with BeginHorizontal.

EndScrollView ( ) : void

Ends a scrollview started with a call to BeginScrollView.

EndToggleGroup ( ) : void

Close a group started with BeginToggleGroup.

EndVertical ( ) : void

Close a group started with BeginVertical.

EnumMaskField ( Enum enumValue ) : Enum

Make a field for enum based masks.

EnumMaskField ( Enum enumValue, GUIStyle style ) : Enum

Make a field for enum based masks.

EnumMaskField ( GUIContent label, Enum enumValue ) : Enum

Make a field for enum based masks.

EnumMaskField ( GUIContent label, Enum enumValue, GUIStyle style ) : Enum

Make a field for enum based masks.

EnumMaskField ( string label, Enum enumValue ) : Enum

Make a field for enum based masks.

EnumMaskField ( string label, Enum enumValue, GUIStyle style ) : Enum

Make a field for enum based masks.

EnumMaskPopup ( GUIContent label, Enum selected ) : Enum

Make an enum popup selection field for a bitmask.

EnumMaskPopup ( GUIContent label, Enum selected, GUIStyle style ) : Enum

Make an enum popup selection field for a bitmask.

EnumMaskPopup ( string label, Enum selected ) : Enum

Make an enum popup selection field for a bitmask.

EnumMaskPopup ( string label, Enum selected, GUIStyle style ) : Enum

Make an enum popup selection field for a bitmask.

EnumPopup ( Enum selected ) : Enum

Make an enum popup selection field.

EnumPopup ( Enum selected, GUIStyle style ) : Enum

Make an enum popup selection field.

EnumPopup ( GUIContent label, Enum selected ) : Enum

Make an enum popup selection field.

EnumPopup ( GUIContent label, Enum selected, GUIStyle style ) : Enum

Make an enum popup selection field.

EnumPopup ( string label, Enum selected ) : Enum

Make an enum popup selection field.

EnumPopup ( string label, Enum selected, GUIStyle style ) : Enum

Make an enum popup selection field.

FloatField ( GUIContent label, float value ) : float

Make a text field for entering float values.

FloatField ( GUIContent label, float value, GUIStyle style ) : float

Make a text field for entering float values.

FloatField ( float value ) : float

Make a text field for entering float values.

FloatField ( float value, GUIStyle style ) : float

Make a text field for entering float values.

FloatField ( string label, float value ) : float

Make a text field for entering float values.

FloatField ( string label, float value, GUIStyle style ) : float

Make a text field for entering float values.

Foldout ( bool foldout, GUIContent content, [ style ) : bool

Make a label with a foldout arrow to the left of it.

Foldout ( bool foldout, GUIContent content, bool toggleOnLabelClick, [ style ) : bool

Make a label with a foldout arrow to the left of it.

Foldout ( bool foldout, string content, [ style ) : bool

Make a label with a foldout arrow to the left of it.

Foldout ( bool foldout, string content, bool toggleOnLabelClick, [ style ) : bool

Make a label with a foldout arrow to the left of it.

GetControlRect ( ) : Rect

Get a rect for an Editor control.

GetControlRect ( bool hasLabel ) : Rect

Get a rect for an Editor control.

GetControlRect ( bool hasLabel, float height ) : Rect

Get a rect for an Editor control.

GetControlRect ( bool hasLabel, float height, GUIStyle style ) : Rect

Get a rect for an Editor control.

HelpBox ( string message, MessageType type ) : void

Make a help box with a message to the user.

HelpBox ( string message, MessageType type, bool wide ) : void

Make a help box with a message to the user.

InspectorTitlebar ( bool foldout, Object targetObj ) : bool

Make an inspector-window-like titlebar.

InspectorTitlebar ( bool foldout, Object targetObj, bool expandable ) : bool
InspectorTitlebar ( Object targetObjs ) : void
IntField ( GUIContent label, int value ) : int

Make a text field for entering integers.

IntField ( GUIContent label, int value, GUIStyle style ) : int

Make a text field for entering integers.

IntField ( int value ) : int

Make a text field for entering integers.

IntField ( int value, GUIStyle style ) : int

Make a text field for entering integers.

IntField ( string label, int value ) : int

Make a text field for entering integers.

IntField ( string label, int value, GUIStyle style ) : int

Make a text field for entering integers.

IntPopup ( GUIContent label, int selectedValue, GUIContent displayedOptions, int optionValues ) : int

Make an integer popup selection field.

IntPopup ( GUIContent label, int selectedValue, GUIContent displayedOptions, int optionValues, GUIStyle style ) : int

Make an integer popup selection field.

IntPopup ( int selectedValue, GUIContent displayedOptions, int optionValues ) : int

Make an integer popup selection field.

IntPopup ( int selectedValue, GUIContent displayedOptions, int optionValues, GUIStyle style ) : int

Make an integer popup selection field.

IntPopup ( int selectedValue, string displayedOptions, int optionValues ) : int

Make an integer popup selection field.

IntPopup ( int selectedValue, string displayedOptions, int optionValues, GUIStyle style ) : int

Make an integer popup selection field.

IntPopup ( string label, int selectedValue, string displayedOptions, int optionValues ) : int

Make an integer popup selection field.

IntPopup ( string label, int selectedValue, string displayedOptions, int optionValues, GUIStyle style ) : int

Make an integer popup selection field.

IntPopup ( UnityEditor.SerializedProperty property, GUIContent displayedOptions, int optionValues ) : void

Make an integer popup selection field.

IntPopup ( UnityEditor.SerializedProperty property, GUIContent displayedOptions, int optionValues, GUIContent label ) : void

Make an integer popup selection field.

IntSlider ( GUIContent label, int value, int leftValue, int rightValue ) : int

Make a slider the user can drag to change an integer value between a min and a max.

IntSlider ( int value, int leftValue, int rightValue ) : int

Make a slider the user can drag to change an integer value between a min and a max.

IntSlider ( string label, int value, int leftValue, int rightValue ) : int

Make a slider the user can drag to change an integer value between a min and a max.

IntSlider ( UnityEditor.SerializedProperty property, int leftValue, int rightValue ) : void

Make a slider the user can drag to change an integer value between a min and a max.

IntSlider ( UnityEditor.SerializedProperty property, int leftValue, int rightValue, GUIContent label ) : void

Make a slider the user can drag to change an integer value between a min and a max.

IntSlider ( UnityEditor.SerializedProperty property, int leftValue, int rightValue, string label ) : void

Make a slider the user can drag to change an integer value between a min and a max.

Knob ( Vector2 knobSize, float value, float minValue, float maxValue, string unit, Color backgroundColor, Color activeColor, bool showValue ) : float
LabelField ( GUIContent label ) : void

Make a label field. (Useful for showing read-only info.)

LabelField ( GUIContent label, GUIContent label2 ) : void

Make a label field. (Useful for showing read-only info.)

LabelField ( GUIContent label, GUIContent label2, GUIStyle style ) : void

Make a label field. (Useful for showing read-only info.)

LabelField ( GUIContent label, GUIStyle style ) : void

Make a label field. (Useful for showing read-only info.)

LabelField ( string label ) : void

Make a label field. (Useful for showing read-only info.)

LabelField ( string label, GUIStyle style ) : void

Make a label field. (Useful for showing read-only info.)

LabelField ( string label, string label2 ) : void

Make a label field. (Useful for showing read-only info.)

LabelField ( string label, string label2, GUIStyle style ) : void

Make a label field. (Useful for showing read-only info.)

LayerField ( GUIContent label, int layer ) : int

Make a layer selection field.

LayerField ( GUIContent label, int layer, GUIStyle style ) : int

Make a layer selection field.

LayerField ( int layer ) : int

Make a layer selection field.

LayerField ( int layer, GUIStyle style ) : int

Make a layer selection field.

LayerField ( string label, int layer ) : int

Make a layer selection field.

LayerField ( string label, int layer, GUIStyle style ) : int

Make a layer selection field.

LongField ( GUIContent label, long value ) : long

Make a text field for entering long integers.

LongField ( GUIContent label, long value, GUIStyle style ) : long

Make a text field for entering long integers.

LongField ( long value ) : long

Make a text field for entering long integers.

LongField ( long value, GUIStyle style ) : long

Make a text field for entering long integers.

LongField ( string label, long value ) : long

Make a text field for entering long integers.

LongField ( string label, long value, GUIStyle style ) : long

Make a text field for entering long integers.

MaskField ( GUIContent label, int mask, string displayedOptions ) : int

Make a field for masks.

MaskField ( GUIContent label, int mask, string displayedOptions, GUIStyle style ) : int

Make a field for masks.

MaskField ( int mask, string displayedOptions ) : int

Make a field for masks.

MaskField ( int mask, string displayedOptions, GUIStyle style ) : int

Make a field for masks.

MaskField ( string label, int mask, string displayedOptions ) : int

Make a field for masks.

MaskField ( string label, int mask, string displayedOptions, GUIStyle style ) : int

Make a field for masks.

MinMaxSlider ( GUIContent label, float &minValue, float &maxValue, float minLimit, float maxLimit ) : void
MinMaxSlider ( float &minValue, float &maxValue, float minLimit, float maxLimit ) : void
MinMaxSlider ( string label, float &minValue, float &maxValue, float minLimit, float maxLimit ) : void
ObjectField ( GUIContent label, Object obj, Type objType, bool allowSceneObjects ) : Object

Make a field to receive any object type.

ObjectField ( Object obj, Type objType, bool allowSceneObjects ) : Object

Make a field to receive any object type.

ObjectField ( string label, Object obj, Type objType, bool allowSceneObjects ) : Object

Make a field to receive any object type.

ObjectField ( UnityEditor.SerializedProperty property ) : void

Make a field to receive any object type.

ObjectField ( UnityEditor.SerializedProperty property, GUIContent label ) : void

Make a field to receive any object type.

ObjectField ( UnityEditor.SerializedProperty property, Type objType ) : void

Make a field to receive any object type.

ObjectField ( UnityEditor.SerializedProperty property, Type objType, GUIContent label ) : void

Make a field to receive any object type.

PasswordField ( GUIContent label, string password ) : string

Make a text field where the user can enter a password.

PasswordField ( GUIContent label, string password, GUIStyle style ) : string

Make a text field where the user can enter a password.

PasswordField ( string password ) : string

Make a text field where the user can enter a password.

PasswordField ( string password, GUIStyle style ) : string

Make a text field where the user can enter a password.

PasswordField ( string label, string password ) : string

Make a text field where the user can enter a password.

PasswordField ( string label, string password, GUIStyle style ) : string

Make a text field where the user can enter a password.

Popup ( GUIContent label, int selectedIndex, GUIContent displayedOptions ) : int

Make a generic popup selection field.

Popup ( GUIContent label, int selectedIndex, GUIContent displayedOptions, GUIStyle style ) : int

Make a generic popup selection field.

Popup ( int selectedIndex, GUIContent displayedOptions ) : int

Make a generic popup selection field.

Popup ( int selectedIndex, GUIContent displayedOptions, GUIStyle style ) : int

Make a generic popup selection field.

Popup ( int selectedIndex, string displayedOptions ) : int

Make a generic popup selection field.

Popup ( int selectedIndex, string displayedOptions, GUIStyle style ) : int

Make a generic popup selection field.

Popup ( string label, int selectedIndex, string displayedOptions ) : int

Make a generic popup selection field.

Popup ( string label, int selectedIndex, string displayedOptions, GUIStyle style ) : int

Make a generic popup selection field.

PrefixLabel ( GUIContent label, GUIStyle followingStyle, GUIStyle labelStyle ) : void

Make a label in front of some control.

PrefixLabel ( GUIContent label, [ followingStyle ) : void

Make a label in front of some control.

PrefixLabel ( string label, GUIStyle followingStyle, GUIStyle labelStyle ) : void

Make a label in front of some control.

PrefixLabel ( string label, [ followingStyle ) : void

Make a label in front of some control.

PropertyField ( UnityEditor.SerializedProperty property ) : bool

Make a field for SerializedProperty.

PropertyField ( UnityEditor.SerializedProperty property, GUIContent label ) : bool

Make a field for SerializedProperty.

PropertyField ( UnityEditor.SerializedProperty property, GUIContent label, bool includeChildren ) : bool

Make a field for SerializedProperty.

PropertyField ( UnityEditor.SerializedProperty property, bool includeChildren ) : bool

Make a field for SerializedProperty.

RectField ( GUIContent label, Rect value ) : Rect

Make an X, Y, W & H field for entering a Rect.

RectField ( Rect value ) : Rect

Make an X, Y, W & H field for entering a Rect.

RectField ( string label, Rect value ) : Rect

Make an X, Y, W & H field for entering a Rect.

SelectableLabel ( string text ) : void

Make a selectable label field. (Useful for showing read-only info that can be copy-pasted.)

SelectableLabel ( string text, GUIStyle style ) : void

Make a selectable label field. (Useful for showing read-only info that can be copy-pasted.)

Separator ( ) : void
Slider ( GUIContent label, float value, float leftValue, float rightValue ) : float

Make a slider the user can drag to change a value between a min and a max.

Slider ( float value, float leftValue, float rightValue ) : float

Make a slider the user can drag to change a value between a min and a max.

Slider ( string label, float value, float leftValue, float rightValue ) : float

Make a slider the user can drag to change a value between a min and a max.

Slider ( UnityEditor.SerializedProperty property, float leftValue, float rightValue ) : void

Make a slider the user can drag to change a value between a min and a max.

Slider ( UnityEditor.SerializedProperty property, float leftValue, float rightValue, GUIContent label ) : void

Make a slider the user can drag to change a value between a min and a max.

Slider ( UnityEditor.SerializedProperty property, float leftValue, float rightValue, string label ) : void

Make a slider the user can drag to change a value between a min and a max.

Space ( ) : void

Make a small space between the previous control and the following.

TagField ( GUIContent label, string tag ) : string

Make a tag selection field.

TagField ( GUIContent label, string tag, GUIStyle style ) : string

Make a tag selection field.

TagField ( string tag ) : string

Make a tag selection field.

TagField ( string tag, GUIStyle style ) : string

Make a tag selection field.

TagField ( string label, string tag ) : string

Make a tag selection field.

TagField ( string label, string tag, GUIStyle style ) : string

Make a tag selection field.

Private Methods

Method Description
BeginHorizontal ( GUIContent content, GUIStyle style ) : Rect
BeginHorizontalScrollView ( Vector2 scrollPosition ) : Vector2
BeginHorizontalScrollView ( Vector2 scrollPosition, bool alwaysShowHorizontal, GUIStyle horizontalScrollbar, GUIStyle background ) : Vector2
BeginPlatformGrouping ( BuildPlayerWindow platforms, GUIContent defaultTab ) : int
BeginPlatformGrouping ( BuildPlayerWindow platforms, GUIContent defaultTab, GUIStyle style ) : int
BeginScrollView ( Vector2 scrollPosition, bool alwaysShowHorizontal, bool alwaysShowVertical, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar ) : Vector2
BeginVertical ( GUIContent content, GUIStyle style ) : Rect
BeginVerticalScrollView ( Vector2 scrollPosition ) : Vector2
BeginVerticalScrollView ( Vector2 scrollPosition, bool alwaysShowVertical, GUIStyle verticalScrollbar, GUIStyle background ) : Vector2
BitToggleField ( string label, UnityEditor.SerializedProperty bitFieldProperty, int flag ) : bool
ButtonMouseDown ( GUIContent content, FocusType focusType, GUIStyle style ) : bool
ColorBrightnessField ( GUIContent label, Color value, float minBrightness, float maxBrightness ) : Color
CycleButton ( int selected, GUIContent options, GUIStyle style ) : int
DelayedTextFieldDropDown ( GUIContent label, string text, string dropDownElement ) : string
DelayedTextFieldDropDown ( string text, string dropDownElement ) : string
EndPlatformGrouping ( ) : void
EndScrollView ( bool handleScrollWheel ) : void
EnumMaskPopup ( GUIContent label, Enum selected, int &changedFlags, bool &changedToValue ) : Enum
EnumMaskPopup ( GUIContent label, Enum selected, int &changedFlags, bool &changedToValue, GUIStyle style ) : Enum
EnumMaskPopup ( string label, Enum selected, int &changedFlags, bool &changedToValue ) : Enum
EnumMaskPopup ( string label, Enum selected, int &changedFlags, bool &changedToValue, GUIStyle style ) : Enum
Foldout ( bool foldout, GUIContent content ) : bool
Foldout ( bool foldout, GUIContent content, bool toggleOnLabelClick ) : bool
Foldout ( bool foldout, string content ) : bool
Foldout ( bool foldout, string content, bool toggleOnLabelClick ) : bool
FoldoutInternal ( bool foldout, GUIContent content, bool toggleOnLabelClick, GUIStyle style ) : bool
FoldoutTitlebar ( bool foldout, GUIContent label ) : bool
GameViewSizePopup ( GameViewSizeGroupType groupType, int selectedIndex, IGameViewSizeMenuUser gameView, GUIStyle style ) : void
GetSliderRect ( bool hasLabel ) : Rect
GetToggleRect ( bool hasLabel ) : Rect
GradientField ( GUIContent label, Gradient value ) : Gradient
GradientField ( GUIContent label, UnityEditor.SerializedProperty value ) : Gradient
GradientField ( Gradient value ) : Gradient
GradientField ( UnityEditor.SerializedProperty value ) : Gradient
GradientField ( string label, Gradient value ) : Gradient
GradientField ( string label, UnityEditor.SerializedProperty value ) : Gradient
HexColorTextField ( GUIContent label, Color color, bool showAlpha ) : Color
HexColorTextField ( GUIContent label, Color color, bool showAlpha, GUIStyle style ) : Color
IconButton ( int id, GUIContent content, GUIStyle style ) : bool
IntPopup ( UnityEditor.SerializedProperty property, GUIContent displayedOptions, int optionValues, GUIContent label, GUIStyle style ) : void
KeyEventField ( Event e ) : Event
LayerMaskField ( UnityEditor.SerializedProperty property, GUIContent label ) : void
LinkLabel ( GUIContent label ) : bool
LinkLabel ( string label ) : bool
MiniThumbnailObjectField ( GUIContent label, Object obj, Type objType, UnityEditor.EditorGUI validator ) : Object
MultiSelectionObjectTitleBar ( Object objects ) : void
ObjectField ( GUIContent label, Object obj, Type objType ) : Object
ObjectField ( Object obj, Type objType ) : Object
ObjectField ( string label, Object obj, Type objType ) : Object
Popup ( UnityEditor.SerializedProperty property, GUIContent displayedOptions ) : void
Popup ( UnityEditor.SerializedProperty property, GUIContent displayedOptions, GUIContent label ) : void
PowerSlider ( GUIContent label, float value, float leftValue, float rightValue, float power ) : float
PowerSlider ( string label, float value, float leftValue, float rightValue, float power ) : float
PrefixLabel ( GUIContent label ) : void
PrefixLabel ( string label ) : void
PrefixLabelInternal ( GUIContent label, GUIStyle followingStyle, GUIStyle labelStyle ) : void
PropertiesField ( GUIContent label, UnityEditor.SerializedProperty properties, GUIContent propertyLabels, float propertyLabelsWidth ) : void
SortingLayerField ( GUIContent label, UnityEditor.SerializedProperty layerID, GUIStyle style ) : void
SortingLayerField ( GUIContent label, UnityEditor.SerializedProperty layerID, GUIStyle style, GUIStyle labelStyle ) : void
TargetChoiceField ( UnityEditor.SerializedProperty property, GUIContent label ) : void

Method Details

BeginFadeGroup() public static method

Begins a group that can be be hidden/shown and the transition will be animated.

public static BeginFadeGroup ( float value ) : bool
value float A value between 0 and 1, 0 being hidden, and 1 being fully visible.
return bool

BeginHorizontal() public static method

Begin a horizontal group and get its rect back.

public static BeginHorizontal ( ) : Rect
return UnityEngine.Rect

BeginHorizontal() public static method

Begin a horizontal group and get its rect back.

public static BeginHorizontal ( GUIStyle style ) : Rect
style UnityEngine.GUIStyle Optional GUIStyle.
return UnityEngine.Rect

BeginScrollView() public static method

Begin an automatically layouted scrollview.

public static BeginScrollView ( Vector2 scrollPosition ) : Vector2
scrollPosition Vector2 The position to use display.
return Vector2

BeginScrollView() public static method

public static BeginScrollView ( Vector2 scrollPosition, GUIStyle style ) : Vector2
scrollPosition Vector2
style UnityEngine.GUIStyle
return Vector2

BeginScrollView() public static method

Begin an automatically layouted scrollview.

public static BeginScrollView ( Vector2 scrollPosition, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar ) : Vector2
scrollPosition Vector2 The position to use display.
horizontalScrollbar UnityEngine.GUIStyle Optional GUIStyle to use for the horizontal scrollbar. If left out, the horizontalScrollbar style from the current GUISkin is used.
verticalScrollbar UnityEngine.GUIStyle Optional GUIStyle to use for the vertical scrollbar. If left out, the verticalScrollbar style from the current GUISkin is used.
return Vector2

BeginScrollView() public static method

Begin an automatically layouted scrollview.

public static BeginScrollView ( Vector2 scrollPosition, bool alwaysShowHorizontal, bool alwaysShowVertical ) : Vector2
scrollPosition Vector2 The position to use display.
alwaysShowHorizontal bool
alwaysShowVertical bool
return Vector2

BeginScrollView() public static method

Begin an automatically layouted scrollview.

public static BeginScrollView ( Vector2 scrollPosition, bool alwaysShowHorizontal, bool alwaysShowVertical, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar, GUIStyle background ) : Vector2
scrollPosition Vector2 The position to use display.
alwaysShowHorizontal bool
alwaysShowVertical bool
horizontalScrollbar UnityEngine.GUIStyle Optional GUIStyle to use for the horizontal scrollbar. If left out, the horizontalScrollbar style from the current GUISkin is used.
verticalScrollbar UnityEngine.GUIStyle Optional GUIStyle to use for the vertical scrollbar. If left out, the verticalScrollbar style from the current GUISkin is used.
background UnityEngine.GUIStyle
return Vector2

BeginToggleGroup() public static method

Begin a vertical group with a toggle to enable or disable all the controls within at once.

public static BeginToggleGroup ( GUIContent label, bool toggle ) : bool
label UnityEngine.GUIContent Label to show above the toggled controls.
toggle bool Enabled state of the toggle group.
return bool

BeginToggleGroup() public static method

Begin a vertical group with a toggle to enable or disable all the controls within at once.

public static BeginToggleGroup ( string label, bool toggle ) : bool
label string Label to show above the toggled controls.
toggle bool Enabled state of the toggle group.
return bool

BeginVertical() public static method

Begin a vertical group and get its rect back.

public static BeginVertical ( ) : Rect
return UnityEngine.Rect

BeginVertical() public static method

Begin a vertical group and get its rect back.

public static BeginVertical ( GUIStyle style ) : Rect
style UnityEngine.GUIStyle Optional GUIStyle.
return UnityEngine.Rect

BoundsField() public static method

Make Center & Extents field for entering a Bounds.

public static BoundsField ( Bounds value ) : Bounds
value UnityEngine.Bounds The value to edit.
return UnityEngine.Bounds

BoundsField() public static method

Make Center & Extents field for entering a Bounds.

public static BoundsField ( GUIContent label, Bounds value ) : Bounds
label UnityEngine.GUIContent Label to display above the field.
value UnityEngine.Bounds The value to edit.
return UnityEngine.Bounds

BoundsField() public static method

Make Center & Extents field for entering a Bounds.

public static BoundsField ( string label, Bounds value ) : Bounds
label string Label to display above the field.
value UnityEngine.Bounds The value to edit.
return UnityEngine.Bounds

ColorField() public static method

Make a field for selecting a Color.

public static ColorField ( Color value ) : Color
value Color The color to edit.
return Color

ColorField() public static method

Make a field for selecting a Color.

public static ColorField ( GUIContent label, Color value ) : Color
label UnityEngine.GUIContent Optional label to display in front of the field.
value Color The color to edit.
return Color

ColorField() public static method

Make a field for selecting a Color.

public static ColorField ( GUIContent label, Color value, bool showEyedropper, bool showAlpha, bool hdr, ColorPickerHDRConfig hdrConfig ) : Color
label UnityEngine.GUIContent Optional label to display in front of the field.
value Color The color to edit.
showEyedropper bool If true, the color picker should show the eyedropper control. If false, don't show it.
showAlpha bool If true, allow the user to set an alpha value for the color. If false, hide the alpha component.
hdr bool If true, treat the color as an HDR value. If false, treat it as a standard LDR value.
hdrConfig ColorPickerHDRConfig An object that sets the presentation parameters for an HDR color. If not using an HDR color, set this to null.
return Color

ColorField() public static method

Make a field for selecting a Color.

public static ColorField ( string label, Color value ) : Color
label string Optional label to display in front of the field.
value Color The color to edit.
return Color

CurveField() public static method

Make a field for editing an AnimationCurve.

public static CurveField ( AnimationCurve value ) : AnimationCurve
value UnityEngine.AnimationCurve The curve to edit.
return UnityEngine.AnimationCurve

CurveField() public static method

Make a field for editing an AnimationCurve.

public static CurveField ( AnimationCurve value, Color color, Rect ranges ) : AnimationCurve
value UnityEngine.AnimationCurve The curve to edit.
color Color The color to show the curve with.
ranges UnityEngine.Rect Optional rectangle that the curve is restrained within.
return UnityEngine.AnimationCurve

CurveField() public static method

Make a field for editing an AnimationCurve.

public static CurveField ( GUIContent label, AnimationCurve value ) : AnimationCurve
label UnityEngine.GUIContent Optional label to display in front of the field.
value UnityEngine.AnimationCurve The curve to edit.
return UnityEngine.AnimationCurve

CurveField() public static method

Make a field for editing an AnimationCurve.

public static CurveField ( GUIContent label, AnimationCurve value, Color color, Rect ranges ) : AnimationCurve
label UnityEngine.GUIContent Optional label to display in front of the field.
value UnityEngine.AnimationCurve The curve to edit.
color Color The color to show the curve with.
ranges UnityEngine.Rect Optional rectangle that the curve is restrained within.
return UnityEngine.AnimationCurve

CurveField() public static method

Make a field for editing an AnimationCurve.

public static CurveField ( string label, AnimationCurve value ) : AnimationCurve
label string Optional label to display in front of the field.
value UnityEngine.AnimationCurve The curve to edit.
return UnityEngine.AnimationCurve

CurveField() public static method

Make a field for editing an AnimationCurve.

public static CurveField ( string label, AnimationCurve value, Color color, Rect ranges ) : AnimationCurve
label string Optional label to display in front of the field.
value UnityEngine.AnimationCurve The curve to edit.
color Color The color to show the curve with.
ranges UnityEngine.Rect Optional rectangle that the curve is restrained within.
return UnityEngine.AnimationCurve

CurveField() public static method

Make a field for editing an AnimationCurve.

public static CurveField ( UnityEditor.SerializedProperty property, Color color, Rect ranges ) : void
property UnityEditor.SerializedProperty The curve to edit.
color Color The color to show the curve with.
ranges UnityEngine.Rect Optional rectangle that the curve is restrained within.
return void

CurveField() public static method

Make a field for editing an AnimationCurve.

public static CurveField ( UnityEditor.SerializedProperty property, Color color, Rect ranges, GUIContent label ) : void
property UnityEditor.SerializedProperty The curve to edit.
color Color The color to show the curve with.
ranges UnityEngine.Rect Optional rectangle that the curve is restrained within.
label UnityEngine.GUIContent Optional label to display in front of the field. Pass [[GUIContent.none] to hide the label.
return void

DelayedDoubleField() public static method

Make a delayed text field for entering doubles.

public static DelayedDoubleField ( GUIContent label, double value ) : double
label UnityEngine.GUIContent Optional label to display in front of the double field.
value double The value to edit.
return double

DelayedDoubleField() public static method

Make a delayed text field for entering doubles.

public static DelayedDoubleField ( GUIContent label, double value, GUIStyle style ) : double
label UnityEngine.GUIContent Optional label to display in front of the double field.
value double The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return double

DelayedDoubleField() public static method

Make a delayed text field for entering doubles.

public static DelayedDoubleField ( double value ) : double
value double The value to edit.
return double

DelayedDoubleField() public static method

Make a delayed text field for entering doubles.

public static DelayedDoubleField ( double value, GUIStyle style ) : double
value double The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return double

DelayedDoubleField() public static method

Make a delayed text field for entering doubles.

public static DelayedDoubleField ( string label, double value ) : double
label string Optional label to display in front of the double field.
value double The value to edit.
return double

DelayedDoubleField() public static method

Make a delayed text field for entering doubles.

public static DelayedDoubleField ( string label, double value, GUIStyle style ) : double
label string Optional label to display in front of the double field.
value double The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return double

DelayedFloatField() public static method

Make a delayed text field for entering floats.

public static DelayedFloatField ( GUIContent label, float value ) : float
label UnityEngine.GUIContent Optional label to display in front of the float field.
value float The value to edit.
return float

DelayedFloatField() public static method

Make a delayed text field for entering floats.

public static DelayedFloatField ( GUIContent label, float value, GUIStyle style ) : float
label UnityEngine.GUIContent Optional label to display in front of the float field.
value float The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return float

DelayedFloatField() public static method

Make a delayed text field for entering floats.

public static DelayedFloatField ( float value ) : float
value float The value to edit.
return float

DelayedFloatField() public static method

Make a delayed text field for entering floats.

public static DelayedFloatField ( float value, GUIStyle style ) : float
value float The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return float

DelayedFloatField() public static method

Make a delayed text field for entering floats.

public static DelayedFloatField ( string label, float value ) : float
label string Optional label to display in front of the float field.
value float The value to edit.
return float

DelayedFloatField() public static method

Make a delayed text field for entering floats.

public static DelayedFloatField ( string label, float value, GUIStyle style ) : float
label string Optional label to display in front of the float field.
value float The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return float

DelayedFloatField() public static method

Make a delayed text field for entering floats.

public static DelayedFloatField ( UnityEditor.SerializedProperty property ) : void
property UnityEditor.SerializedProperty The float property to edit.
return void

DelayedFloatField() public static method

Make a delayed text field for entering floats.

public static DelayedFloatField ( UnityEditor.SerializedProperty property, GUIContent label ) : void
property UnityEditor.SerializedProperty The float property to edit.
label UnityEngine.GUIContent Optional label to display in front of the float field. Pass GUIContent.none to hide label.
return void

DelayedIntField() public static method

Make a delayed text field for entering integers.

public static DelayedIntField ( GUIContent label, int value ) : int
label UnityEngine.GUIContent Optional label to display in front of the int field.
value int The value to edit.
return int

DelayedIntField() public static method

Make a delayed text field for entering integers.

public static DelayedIntField ( GUIContent label, int value, GUIStyle style ) : int
label UnityEngine.GUIContent Optional label to display in front of the int field.
value int The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

DelayedIntField() public static method

Make a delayed text field for entering integers.

public static DelayedIntField ( int value ) : int
value int The value to edit.
return int

DelayedIntField() public static method

Make a delayed text field for entering integers.

public static DelayedIntField ( int value, GUIStyle style ) : int
value int The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

DelayedIntField() public static method

Make a delayed text field for entering integers.

public static DelayedIntField ( string label, int value ) : int
label string Optional label to display in front of the int field.
value int The value to edit.
return int

DelayedIntField() public static method

Make a delayed text field for entering integers.

public static DelayedIntField ( string label, int value, GUIStyle style ) : int
label string Optional label to display in front of the int field.
value int The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

DelayedIntField() public static method

Make a delayed text field for entering integers.

public static DelayedIntField ( UnityEditor.SerializedProperty property ) : void
property UnityEditor.SerializedProperty The int property to edit.
return void

DelayedIntField() public static method

Make a delayed text field for entering integers.

public static DelayedIntField ( UnityEditor.SerializedProperty property, GUIContent label ) : void
property UnityEditor.SerializedProperty The int property to edit.
label UnityEngine.GUIContent Optional label to display in front of the int field. Pass GUIContent.none to hide label.
return void

DelayedTextField() public static method

Make a delayed text field.

public static DelayedTextField ( GUIContent label, string text ) : string
label UnityEngine.GUIContent Optional label to display in front of the int field.
text string The text to edit.
return string

DelayedTextField() public static method

Make a delayed text field.

public static DelayedTextField ( GUIContent label, string text, GUIStyle style ) : string
label UnityEngine.GUIContent Optional label to display in front of the int field.
text string The text to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return string

DelayedTextField() public static method

Make a delayed text field.

public static DelayedTextField ( string text ) : string
text string The text to edit.
return string

DelayedTextField() public static method

Make a delayed text field.

public static DelayedTextField ( string text, GUIStyle style ) : string
text string The text to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return string

DelayedTextField() public static method

Make a delayed text field.

public static DelayedTextField ( string label, string text ) : string
label string Optional label to display in front of the int field.
text string The text to edit.
return string

DelayedTextField() public static method

Make a delayed text field.

public static DelayedTextField ( string label, string text, GUIStyle style ) : string
label string Optional label to display in front of the int field.
text string The text to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return string

DelayedTextField() public static method

Make a delayed text field.

public static DelayedTextField ( UnityEditor.SerializedProperty property ) : void
property UnityEditor.SerializedProperty The text property to edit.
return void

DelayedTextField() public static method

Make a delayed text field.

public static DelayedTextField ( UnityEditor.SerializedProperty property, GUIContent label ) : void
property UnityEditor.SerializedProperty The text property to edit.
label UnityEngine.GUIContent Optional label to display in front of the int field. Pass GUIContent.none to hide label.
return void

DoubleField() public static method

Make a text field for entering double values.

public static DoubleField ( GUIContent label, double value ) : double
label UnityEngine.GUIContent Optional label to display in front of the double field.
value double The value to edit.
return double

DoubleField() public static method

Make a text field for entering double values.

public static DoubleField ( GUIContent label, double value, GUIStyle style ) : double
label UnityEngine.GUIContent Optional label to display in front of the double field.
value double The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return double

DoubleField() public static method

Make a text field for entering double values.

public static DoubleField ( double value ) : double
value double The value to edit.
return double

DoubleField() public static method

Make a text field for entering double values.

public static DoubleField ( double value, GUIStyle style ) : double
value double The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return double

DoubleField() public static method

Make a text field for entering double values.

public static DoubleField ( string label, double value ) : double
label string Optional label to display in front of the double field.
value double The value to edit.
return double

DoubleField() public static method

Make a text field for entering double values.

public static DoubleField ( string label, double value, GUIStyle style ) : double
label string Optional label to display in front of the double field.
value double The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return double

EndFadeGroup() public static method

Closes a group started with BeginFadeGroup.

public static EndFadeGroup ( ) : void
return void

EndHorizontal() public static method

Close a group started with BeginHorizontal.

public static EndHorizontal ( ) : void
return void

EndScrollView() public static method

Ends a scrollview started with a call to BeginScrollView.

public static EndScrollView ( ) : void
return void

EndToggleGroup() public static method

Close a group started with BeginToggleGroup.

public static EndToggleGroup ( ) : void
return void

EndVertical() public static method

Close a group started with BeginVertical.

public static EndVertical ( ) : void
return void

EnumMaskField() public static method

Make a field for enum based masks.

public static EnumMaskField ( Enum enumValue ) : Enum
enumValue System.Enum Enum to use for the flags.
return System.Enum

EnumMaskField() public static method

Make a field for enum based masks.

public static EnumMaskField ( Enum enumValue, GUIStyle style ) : Enum
enumValue System.Enum Enum to use for the flags.
style UnityEngine.GUIStyle
return System.Enum

EnumMaskField() public static method

Make a field for enum based masks.

public static EnumMaskField ( GUIContent label, Enum enumValue ) : Enum
label UnityEngine.GUIContent Prefix label for this field.
enumValue System.Enum Enum to use for the flags.
return System.Enum

EnumMaskField() public static method

Make a field for enum based masks.

public static EnumMaskField ( GUIContent label, Enum enumValue, GUIStyle style ) : Enum
label UnityEngine.GUIContent Prefix label for this field.
enumValue System.Enum Enum to use for the flags.
style UnityEngine.GUIStyle
return System.Enum

EnumMaskField() public static method

Make a field for enum based masks.

public static EnumMaskField ( string label, Enum enumValue ) : Enum
label string Prefix label for this field.
enumValue System.Enum Enum to use for the flags.
return System.Enum

EnumMaskField() public static method

Make a field for enum based masks.

public static EnumMaskField ( string label, Enum enumValue, GUIStyle style ) : Enum
label string Prefix label for this field.
enumValue System.Enum Enum to use for the flags.
style UnityEngine.GUIStyle
return System.Enum

EnumMaskPopup() public static method

Make an enum popup selection field for a bitmask.

public static EnumMaskPopup ( GUIContent label, Enum selected ) : Enum
label UnityEngine.GUIContent Optional label in front of the field.
selected System.Enum The enum options the field shows.
return System.Enum

EnumMaskPopup() public static method

Make an enum popup selection field for a bitmask.

public static EnumMaskPopup ( GUIContent label, Enum selected, GUIStyle style ) : Enum
label UnityEngine.GUIContent Optional label in front of the field.
selected System.Enum The enum options the field shows.
style UnityEngine.GUIStyle Optional GUIStyle.
return System.Enum

EnumMaskPopup() public static method

Make an enum popup selection field for a bitmask.

public static EnumMaskPopup ( string label, Enum selected ) : Enum
label string Optional label in front of the field.
selected System.Enum The enum options the field shows.
return System.Enum

EnumMaskPopup() public static method

Make an enum popup selection field for a bitmask.

public static EnumMaskPopup ( string label, Enum selected, GUIStyle style ) : Enum
label string Optional label in front of the field.
selected System.Enum The enum options the field shows.
style UnityEngine.GUIStyle Optional GUIStyle.
return System.Enum

EnumPopup() public static method

Make an enum popup selection field.

public static EnumPopup ( Enum selected ) : Enum
selected System.Enum The enum option the field shows.
return System.Enum

EnumPopup() public static method

Make an enum popup selection field.

public static EnumPopup ( Enum selected, GUIStyle style ) : Enum
selected System.Enum The enum option the field shows.
style UnityEngine.GUIStyle Optional GUIStyle.
return System.Enum

EnumPopup() public static method

Make an enum popup selection field.

public static EnumPopup ( GUIContent label, Enum selected ) : Enum
label UnityEngine.GUIContent Optional label in front of the field.
selected System.Enum The enum option the field shows.
return System.Enum

EnumPopup() public static method

Make an enum popup selection field.

public static EnumPopup ( GUIContent label, Enum selected, GUIStyle style ) : Enum
label UnityEngine.GUIContent Optional label in front of the field.
selected System.Enum The enum option the field shows.
style UnityEngine.GUIStyle Optional GUIStyle.
return System.Enum

EnumPopup() public static method

Make an enum popup selection field.

public static EnumPopup ( string label, Enum selected ) : Enum
label string Optional label in front of the field.
selected System.Enum The enum option the field shows.
return System.Enum

EnumPopup() public static method

Make an enum popup selection field.

public static EnumPopup ( string label, Enum selected, GUIStyle style ) : Enum
label string Optional label in front of the field.
selected System.Enum The enum option the field shows.
style UnityEngine.GUIStyle Optional GUIStyle.
return System.Enum

FloatField() public static method

Make a text field for entering float values.

public static FloatField ( GUIContent label, float value ) : float
label UnityEngine.GUIContent Optional label to display in front of the float field.
value float The value to edit.
return float

FloatField() public static method

Make a text field for entering float values.

public static FloatField ( GUIContent label, float value, GUIStyle style ) : float
label UnityEngine.GUIContent Optional label to display in front of the float field.
value float The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return float

FloatField() public static method

Make a text field for entering float values.

public static FloatField ( float value ) : float
value float The value to edit.
return float

FloatField() public static method

Make a text field for entering float values.

public static FloatField ( float value, GUIStyle style ) : float
value float The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return float

FloatField() public static method

Make a text field for entering float values.

public static FloatField ( string label, float value ) : float
label string Optional label to display in front of the float field.
value float The value to edit.
return float

FloatField() public static method

Make a text field for entering float values.

public static FloatField ( string label, float value, GUIStyle style ) : float
label string Optional label to display in front of the float field.
value float The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return float

Foldout() public static method

Make a label with a foldout arrow to the left of it.

public static Foldout ( bool foldout, GUIContent content, [ style ) : bool
foldout bool The shown foldout state.
content UnityEngine.GUIContent The label to show.
style [ Optional GUIStyle.
return bool

Foldout() public static method

Make a label with a foldout arrow to the left of it.

public static Foldout ( bool foldout, GUIContent content, bool toggleOnLabelClick, [ style ) : bool
foldout bool The shown foldout state.
content UnityEngine.GUIContent The label to show.
toggleOnLabelClick bool Whether to toggle the foldout state when the label is clicked.
style [ Optional GUIStyle.
return bool

Foldout() public static method

Make a label with a foldout arrow to the left of it.

public static Foldout ( bool foldout, string content, [ style ) : bool
foldout bool The shown foldout state.
content string The label to show.
style [ Optional GUIStyle.
return bool

Foldout() public static method

Make a label with a foldout arrow to the left of it.

public static Foldout ( bool foldout, string content, bool toggleOnLabelClick, [ style ) : bool
foldout bool The shown foldout state.
content string The label to show.
toggleOnLabelClick bool Whether to toggle the foldout state when the label is clicked.
style [ Optional GUIStyle.
return bool

GetControlRect() public static method

Get a rect for an Editor control.

public static GetControlRect ( ) : Rect
return UnityEngine.Rect

GetControlRect() public static method

Get a rect for an Editor control.

public static GetControlRect ( bool hasLabel ) : Rect
hasLabel bool Optional boolean to specify if the control has a label. Default is true.
return UnityEngine.Rect

GetControlRect() public static method

Get a rect for an Editor control.

public static GetControlRect ( bool hasLabel, float height ) : Rect
hasLabel bool Optional boolean to specify if the control has a label. Default is true.
height float The height in pixels of the control. Default is EditorGUIUtility.singleLineHeight.
return UnityEngine.Rect

GetControlRect() public static method

Get a rect for an Editor control.

public static GetControlRect ( bool hasLabel, float height, GUIStyle style ) : Rect
hasLabel bool Optional boolean to specify if the control has a label. Default is true.
height float The height in pixels of the control. Default is EditorGUIUtility.singleLineHeight.
style UnityEngine.GUIStyle Optional GUIStyle to use for the control.
return UnityEngine.Rect

HelpBox() public static method

Make a help box with a message to the user.

public static HelpBox ( string message, MessageType type ) : void
message string The message text.
type MessageType The type of message.
return void

HelpBox() public static method

Make a help box with a message to the user.

public static HelpBox ( string message, MessageType type, bool wide ) : void
message string The message text.
type MessageType The type of message.
wide bool If true, the box will cover the whole width of the window; otherwise it will cover the controls part only.
return void

InspectorTitlebar() public static method

Make an inspector-window-like titlebar.

public static InspectorTitlebar ( bool foldout, Object targetObj ) : bool
foldout bool The foldout state shown with the arrow.
targetObj Object The object (for example a component) or objects that the titlebar is for.
return bool

InspectorTitlebar() public static method

public static InspectorTitlebar ( bool foldout, Object targetObj, bool expandable ) : bool
foldout bool
targetObj Object
expandable bool
return bool

InspectorTitlebar() public static method

public static InspectorTitlebar ( Object targetObjs ) : void
targetObjs Object
return void

IntField() public static method

Make a text field for entering integers.

public static IntField ( GUIContent label, int value ) : int
label UnityEngine.GUIContent Optional label to display in front of the int field.
value int The value to edit.
return int

IntField() public static method

Make a text field for entering integers.

public static IntField ( GUIContent label, int value, GUIStyle style ) : int
label UnityEngine.GUIContent Optional label to display in front of the int field.
value int The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

IntField() public static method

Make a text field for entering integers.

public static IntField ( int value ) : int
value int The value to edit.
return int

IntField() public static method

Make a text field for entering integers.

public static IntField ( int value, GUIStyle style ) : int
value int The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

IntField() public static method

Make a text field for entering integers.

public static IntField ( string label, int value ) : int
label string Optional label to display in front of the int field.
value int The value to edit.
return int

IntField() public static method

Make a text field for entering integers.

public static IntField ( string label, int value, GUIStyle style ) : int
label string Optional label to display in front of the int field.
value int The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

IntPopup() public static method

Make an integer popup selection field.

public static IntPopup ( GUIContent label, int selectedValue, GUIContent displayedOptions, int optionValues ) : int
label UnityEngine.GUIContent Optional label in front of the field.
selectedValue int The value of the option the field shows.
displayedOptions UnityEngine.GUIContent An array with the displayed options the user can choose from.
optionValues int An array with the values for each option.
return int

IntPopup() public static method

Make an integer popup selection field.

public static IntPopup ( GUIContent label, int selectedValue, GUIContent displayedOptions, int optionValues, GUIStyle style ) : int
label UnityEngine.GUIContent Optional label in front of the field.
selectedValue int The value of the option the field shows.
displayedOptions UnityEngine.GUIContent An array with the displayed options the user can choose from.
optionValues int An array with the values for each option.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

IntPopup() public static method

Make an integer popup selection field.

public static IntPopup ( int selectedValue, GUIContent displayedOptions, int optionValues ) : int
selectedValue int The value of the option the field shows.
displayedOptions UnityEngine.GUIContent An array with the displayed options the user can choose from.
optionValues int An array with the values for each option.
return int

IntPopup() public static method

Make an integer popup selection field.

public static IntPopup ( int selectedValue, GUIContent displayedOptions, int optionValues, GUIStyle style ) : int
selectedValue int The value of the option the field shows.
displayedOptions UnityEngine.GUIContent An array with the displayed options the user can choose from.
optionValues int An array with the values for each option.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

IntPopup() public static method

Make an integer popup selection field.

public static IntPopup ( int selectedValue, string displayedOptions, int optionValues ) : int
selectedValue int The value of the option the field shows.
displayedOptions string An array with the displayed options the user can choose from.
optionValues int An array with the values for each option.
return int

IntPopup() public static method

Make an integer popup selection field.

public static IntPopup ( int selectedValue, string displayedOptions, int optionValues, GUIStyle style ) : int
selectedValue int The value of the option the field shows.
displayedOptions string An array with the displayed options the user can choose from.
optionValues int An array with the values for each option.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

IntPopup() public static method

Make an integer popup selection field.

public static IntPopup ( string label, int selectedValue, string displayedOptions, int optionValues ) : int
label string Optional label in front of the field.
selectedValue int The value of the option the field shows.
displayedOptions string An array with the displayed options the user can choose from.
optionValues int An array with the values for each option.
return int

IntPopup() public static method

Make an integer popup selection field.

public static IntPopup ( string label, int selectedValue, string displayedOptions, int optionValues, GUIStyle style ) : int
label string Optional label in front of the field.
selectedValue int The value of the option the field shows.
displayedOptions string An array with the displayed options the user can choose from.
optionValues int An array with the values for each option.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

IntPopup() public static method

Make an integer popup selection field.

public static IntPopup ( UnityEditor.SerializedProperty property, GUIContent displayedOptions, int optionValues ) : void
property UnityEditor.SerializedProperty The value of the option the field shows.
displayedOptions UnityEngine.GUIContent An array with the displayed options the user can choose from.
optionValues int An array with the values for each option.
return void

IntPopup() public static method

Make an integer popup selection field.

public static IntPopup ( UnityEditor.SerializedProperty property, GUIContent displayedOptions, int optionValues, GUIContent label ) : void
property UnityEditor.SerializedProperty The value of the option the field shows.
displayedOptions UnityEngine.GUIContent An array with the displayed options the user can choose from.
optionValues int An array with the values for each option.
label UnityEngine.GUIContent Optional label in front of the field.
return void

IntSlider() public static method

Make a slider the user can drag to change an integer value between a min and a max.

public static IntSlider ( GUIContent label, int value, int leftValue, int rightValue ) : int
label UnityEngine.GUIContent Optional label in front of the slider.
value int The value the slider shows. This determines the position of the draggable thumb.
leftValue int The value at the left end of the slider.
rightValue int The value at the right end of the slider.
return int

IntSlider() public static method

Make a slider the user can drag to change an integer value between a min and a max.

public static IntSlider ( int value, int leftValue, int rightValue ) : int
value int The value the slider shows. This determines the position of the draggable thumb.
leftValue int The value at the left end of the slider.
rightValue int The value at the right end of the slider.
return int

IntSlider() public static method

Make a slider the user can drag to change an integer value between a min and a max.

public static IntSlider ( string label, int value, int leftValue, int rightValue ) : int
label string Optional label in front of the slider.
value int The value the slider shows. This determines the position of the draggable thumb.
leftValue int The value at the left end of the slider.
rightValue int The value at the right end of the slider.
return int

IntSlider() public static method

Make a slider the user can drag to change an integer value between a min and a max.

public static IntSlider ( UnityEditor.SerializedProperty property, int leftValue, int rightValue ) : void
property UnityEditor.SerializedProperty The value the slider shows. This determines the position of the draggable thumb.
leftValue int The value at the left end of the slider.
rightValue int The value at the right end of the slider.
return void

IntSlider() public static method

Make a slider the user can drag to change an integer value between a min and a max.

public static IntSlider ( UnityEditor.SerializedProperty property, int leftValue, int rightValue, GUIContent label ) : void
property UnityEditor.SerializedProperty The value the slider shows. This determines the position of the draggable thumb.
leftValue int The value at the left end of the slider.
rightValue int The value at the right end of the slider.
label UnityEngine.GUIContent Optional label in front of the slider.
return void

IntSlider() public static method

Make a slider the user can drag to change an integer value between a min and a max.

public static IntSlider ( UnityEditor.SerializedProperty property, int leftValue, int rightValue, string label ) : void
property UnityEditor.SerializedProperty The value the slider shows. This determines the position of the draggable thumb.
leftValue int The value at the left end of the slider.
rightValue int The value at the right end of the slider.
label string Optional label in front of the slider.
return void

Knob() public static method

public static Knob ( Vector2 knobSize, float value, float minValue, float maxValue, string unit, Color backgroundColor, Color activeColor, bool showValue ) : float
knobSize Vector2
value float
minValue float
maxValue float
unit string
backgroundColor Color
activeColor Color
showValue bool
return float

LabelField() public static method

Make a label field. (Useful for showing read-only info.)

public static LabelField ( GUIContent label ) : void
label UnityEngine.GUIContent Label in front of the label field.
return void

LabelField() public static method

Make a label field. (Useful for showing read-only info.)

public static LabelField ( GUIContent label, GUIContent label2 ) : void
label UnityEngine.GUIContent Label in front of the label field.
label2 UnityEngine.GUIContent The label to show to the right.
return void

LabelField() public static method

Make a label field. (Useful for showing read-only info.)

public static LabelField ( GUIContent label, GUIContent label2, GUIStyle style ) : void
label UnityEngine.GUIContent Label in front of the label field.
label2 UnityEngine.GUIContent The label to show to the right.
style UnityEngine.GUIStyle
return void

LabelField() public static method

Make a label field. (Useful for showing read-only info.)

public static LabelField ( GUIContent label, GUIStyle style ) : void
label UnityEngine.GUIContent Label in front of the label field.
style UnityEngine.GUIStyle
return void

LabelField() public static method

Make a label field. (Useful for showing read-only info.)

public static LabelField ( string label ) : void
label string Label in front of the label field.
return void

LabelField() public static method

Make a label field. (Useful for showing read-only info.)

public static LabelField ( string label, GUIStyle style ) : void
label string Label in front of the label field.
style UnityEngine.GUIStyle
return void

LabelField() public static method

Make a label field. (Useful for showing read-only info.)

public static LabelField ( string label, string label2 ) : void
label string Label in front of the label field.
label2 string The label to show to the right.
return void

LabelField() public static method

Make a label field. (Useful for showing read-only info.)

public static LabelField ( string label, string label2, GUIStyle style ) : void
label string Label in front of the label field.
label2 string The label to show to the right.
style UnityEngine.GUIStyle
return void

LayerField() public static method

Make a layer selection field.

public static LayerField ( GUIContent label, int layer ) : int
label UnityEngine.GUIContent Optional label in front of the field.
layer int The layer shown in the field.
return int

LayerField() public static method

Make a layer selection field.

public static LayerField ( GUIContent label, int layer, GUIStyle style ) : int
label UnityEngine.GUIContent Optional label in front of the field.
layer int The layer shown in the field.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

LayerField() public static method

Make a layer selection field.

public static LayerField ( int layer ) : int
layer int The layer shown in the field.
return int

LayerField() public static method

Make a layer selection field.

public static LayerField ( int layer, GUIStyle style ) : int
layer int The layer shown in the field.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

LayerField() public static method

Make a layer selection field.

public static LayerField ( string label, int layer ) : int
label string Optional label in front of the field.
layer int The layer shown in the field.
return int

LayerField() public static method

Make a layer selection field.

public static LayerField ( string label, int layer, GUIStyle style ) : int
label string Optional label in front of the field.
layer int The layer shown in the field.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

LongField() public static method

Make a text field for entering long integers.

public static LongField ( GUIContent label, long value ) : long
label UnityEngine.GUIContent Optional label to display in front of the long field.
value long The value to edit.
return long

LongField() public static method

Make a text field for entering long integers.

public static LongField ( GUIContent label, long value, GUIStyle style ) : long
label UnityEngine.GUIContent Optional label to display in front of the long field.
value long The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return long

LongField() public static method

Make a text field for entering long integers.

public static LongField ( long value ) : long
value long The value to edit.
return long

LongField() public static method

Make a text field for entering long integers.

public static LongField ( long value, GUIStyle style ) : long
value long The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return long

LongField() public static method

Make a text field for entering long integers.

public static LongField ( string label, long value ) : long
label string Optional label to display in front of the long field.
value long The value to edit.
return long

LongField() public static method

Make a text field for entering long integers.

public static LongField ( string label, long value, GUIStyle style ) : long
label string Optional label to display in front of the long field.
value long The value to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return long

MaskField() public static method

Make a field for masks.

public static MaskField ( GUIContent label, int mask, string displayedOptions ) : int
label UnityEngine.GUIContent Prefix label of the field.
mask int The current mask to display.
displayedOptions string
return int

MaskField() public static method

Make a field for masks.

public static MaskField ( GUIContent label, int mask, string displayedOptions, GUIStyle style ) : int
label UnityEngine.GUIContent Prefix label of the field.
mask int The current mask to display.
displayedOptions string
style UnityEngine.GUIStyle
return int

MaskField() public static method

Make a field for masks.

public static MaskField ( int mask, string displayedOptions ) : int
mask int The current mask to display.
displayedOptions string
return int

MaskField() public static method

Make a field for masks.

public static MaskField ( int mask, string displayedOptions, GUIStyle style ) : int
mask int The current mask to display.
displayedOptions string
style UnityEngine.GUIStyle
return int

MaskField() public static method

Make a field for masks.

public static MaskField ( string label, int mask, string displayedOptions ) : int
label string Prefix label of the field.
mask int The current mask to display.
displayedOptions string
return int

MaskField() public static method

Make a field for masks.

public static MaskField ( string label, int mask, string displayedOptions, GUIStyle style ) : int
label string Prefix label of the field.
mask int The current mask to display.
displayedOptions string
style UnityEngine.GUIStyle
return int

MinMaxSlider() public static method

public static MinMaxSlider ( GUIContent label, float &minValue, float &maxValue, float minLimit, float maxLimit ) : void
label UnityEngine.GUIContent
minValue float
maxValue float
minLimit float
maxLimit float
return void

MinMaxSlider() public static method

public static MinMaxSlider ( float &minValue, float &maxValue, float minLimit, float maxLimit ) : void
minValue float
maxValue float
minLimit float
maxLimit float
return void

MinMaxSlider() public static method

public static MinMaxSlider ( string label, float &minValue, float &maxValue, float minLimit, float maxLimit ) : void
label string
minValue float
maxValue float
minLimit float
maxLimit float
return void

ObjectField() public static method

Make a field to receive any object type.

public static ObjectField ( GUIContent label, Object obj, Type objType, bool allowSceneObjects ) : Object
label UnityEngine.GUIContent Optional label in front of the field.
obj Object The object the field shows.
objType System.Type The type of the objects that can be assigned.
allowSceneObjects bool Allow assigning scene objects. See Description for more info.
return Object

ObjectField() public static method

Make a field to receive any object type.

public static ObjectField ( Object obj, Type objType, bool allowSceneObjects ) : Object
obj Object The object the field shows.
objType System.Type The type of the objects that can be assigned.
allowSceneObjects bool Allow assigning scene objects. See Description for more info.
return Object

ObjectField() public static method

Make a field to receive any object type.

public static ObjectField ( string label, Object obj, Type objType, bool allowSceneObjects ) : Object
label string Optional label in front of the field.
obj Object The object the field shows.
objType System.Type The type of the objects that can be assigned.
allowSceneObjects bool Allow assigning scene objects. See Description for more info.
return Object

ObjectField() public static method

Make a field to receive any object type.

public static ObjectField ( UnityEditor.SerializedProperty property ) : void
property UnityEditor.SerializedProperty The object reference property the field shows.
return void

ObjectField() public static method

Make a field to receive any object type.

public static ObjectField ( UnityEditor.SerializedProperty property, GUIContent label ) : void
property UnityEditor.SerializedProperty The object reference property the field shows.
label UnityEngine.GUIContent Optional label in front of the field. Pass GUIContent.none to hide the label.
return void

ObjectField() public static method

Make a field to receive any object type.

public static ObjectField ( UnityEditor.SerializedProperty property, Type objType ) : void
property UnityEditor.SerializedProperty The object reference property the field shows.
objType System.Type The type of the objects that can be assigned.
return void

ObjectField() public static method

Make a field to receive any object type.

public static ObjectField ( UnityEditor.SerializedProperty property, Type objType, GUIContent label ) : void
property UnityEditor.SerializedProperty The object reference property the field shows.
objType System.Type The type of the objects that can be assigned.
label UnityEngine.GUIContent Optional label in front of the field. Pass GUIContent.none to hide the label.
return void

PasswordField() public static method

Make a text field where the user can enter a password.

public static PasswordField ( GUIContent label, string password ) : string
label UnityEngine.GUIContent Optional label to display in front of the password field.
password string The password to edit.
return string

PasswordField() public static method

Make a text field where the user can enter a password.

public static PasswordField ( GUIContent label, string password, GUIStyle style ) : string
label UnityEngine.GUIContent Optional label to display in front of the password field.
password string The password to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return string

PasswordField() public static method

Make a text field where the user can enter a password.

public static PasswordField ( string password ) : string
password string The password to edit.
return string

PasswordField() public static method

Make a text field where the user can enter a password.

public static PasswordField ( string password, GUIStyle style ) : string
password string The password to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return string

PasswordField() public static method

Make a text field where the user can enter a password.

public static PasswordField ( string label, string password ) : string
label string Optional label to display in front of the password field.
password string The password to edit.
return string

PasswordField() public static method

Make a text field where the user can enter a password.

public static PasswordField ( string label, string password, GUIStyle style ) : string
label string Optional label to display in front of the password field.
password string The password to edit.
style UnityEngine.GUIStyle Optional GUIStyle.
return string

Popup() public static method

Make a generic popup selection field.

public static Popup ( GUIContent label, int selectedIndex, GUIContent displayedOptions ) : int
label UnityEngine.GUIContent Optional label in front of the field.
selectedIndex int The index of the option the field shows.
displayedOptions UnityEngine.GUIContent An array with the options shown in the popup.
return int

Popup() public static method

Make a generic popup selection field.

public static Popup ( GUIContent label, int selectedIndex, GUIContent displayedOptions, GUIStyle style ) : int
label UnityEngine.GUIContent Optional label in front of the field.
selectedIndex int The index of the option the field shows.
displayedOptions UnityEngine.GUIContent An array with the options shown in the popup.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

Popup() public static method

Make a generic popup selection field.

public static Popup ( int selectedIndex, GUIContent displayedOptions ) : int
selectedIndex int The index of the option the field shows.
displayedOptions UnityEngine.GUIContent An array with the options shown in the popup.
return int

Popup() public static method

Make a generic popup selection field.

public static Popup ( int selectedIndex, GUIContent displayedOptions, GUIStyle style ) : int
selectedIndex int The index of the option the field shows.
displayedOptions UnityEngine.GUIContent An array with the options shown in the popup.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

Popup() public static method

Make a generic popup selection field.

public static Popup ( int selectedIndex, string displayedOptions ) : int
selectedIndex int The index of the option the field shows.
displayedOptions string An array with the options shown in the popup.
return int

Popup() public static method

Make a generic popup selection field.

public static Popup ( int selectedIndex, string displayedOptions, GUIStyle style ) : int
selectedIndex int The index of the option the field shows.
displayedOptions string An array with the options shown in the popup.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

Popup() public static method

Make a generic popup selection field.

public static Popup ( string label, int selectedIndex, string displayedOptions ) : int
label string Optional label in front of the field.
selectedIndex int The index of the option the field shows.
displayedOptions string An array with the options shown in the popup.
return int

Popup() public static method

Make a generic popup selection field.

public static Popup ( string label, int selectedIndex, string displayedOptions, GUIStyle style ) : int
label string Optional label in front of the field.
selectedIndex int The index of the option the field shows.
displayedOptions string An array with the options shown in the popup.
style UnityEngine.GUIStyle Optional GUIStyle.
return int

PrefixLabel() public static method

Make a label in front of some control.

public static PrefixLabel ( GUIContent label, GUIStyle followingStyle, GUIStyle labelStyle ) : void
label UnityEngine.GUIContent Label to show to the left of the control.
followingStyle UnityEngine.GUIStyle
labelStyle UnityEngine.GUIStyle
return void

PrefixLabel() public static method

Make a label in front of some control.

public static PrefixLabel ( GUIContent label, [ followingStyle ) : void
label UnityEngine.GUIContent Label to show to the left of the control.
followingStyle [
return void

PrefixLabel() public static method

Make a label in front of some control.

public static PrefixLabel ( string label, GUIStyle followingStyle, GUIStyle labelStyle ) : void
label string Label to show to the left of the control.
followingStyle UnityEngine.GUIStyle
labelStyle UnityEngine.GUIStyle
return void

PrefixLabel() public static method

Make a label in front of some control.

public static PrefixLabel ( string label, [ followingStyle ) : void
label string Label to show to the left of the control.
followingStyle [
return void

PropertyField() public static method

Make a field for SerializedProperty.

public static PropertyField ( UnityEditor.SerializedProperty property ) : bool
property UnityEditor.SerializedProperty The SerializedProperty to make a field for.
return bool

PropertyField() public static method

Make a field for SerializedProperty.

public static PropertyField ( UnityEditor.SerializedProperty property, GUIContent label ) : bool
property UnityEditor.SerializedProperty The SerializedProperty to make a field for.
label UnityEngine.GUIContent Optional label to use. If not specified the label of the property itself is used. Use GUIContent.none to not display a label at all.
return bool

PropertyField() public static method

Make a field for SerializedProperty.

public static PropertyField ( UnityEditor.SerializedProperty property, GUIContent label, bool includeChildren ) : bool
property UnityEditor.SerializedProperty The SerializedProperty to make a field for.
label UnityEngine.GUIContent Optional label to use. If not specified the label of the property itself is used. Use GUIContent.none to not display a label at all.
includeChildren bool If true the property including children is drawn; otherwise only the control itself (such as only a foldout but nothing below it).
return bool

PropertyField() public static method

Make a field for SerializedProperty.

public static PropertyField ( UnityEditor.SerializedProperty property, bool includeChildren ) : bool
property UnityEditor.SerializedProperty The SerializedProperty to make a field for.
includeChildren bool If true the property including children is drawn; otherwise only the control itself (such as only a foldout but nothing below it).
return bool

RectField() public static method

Make an X, Y, W & H field for entering a Rect.

public static RectField ( GUIContent label, Rect value ) : Rect
label UnityEngine.GUIContent Label to display above the field.
value UnityEngine.Rect The value to edit.
return UnityEngine.Rect

RectField() public static method

Make an X, Y, W & H field for entering a Rect.

public static RectField ( Rect value ) : Rect
value UnityEngine.Rect The value to edit.
return UnityEngine.Rect

RectField() public static method

Make an X, Y, W & H field for entering a Rect.

public static RectField ( string label, Rect value ) : Rect
label string Label to display above the field.
value UnityEngine.Rect The value to edit.
return UnityEngine.Rect

SelectableLabel() public static method

Make a selectable label field. (Useful for showing read-only info that can be copy-pasted.)

public static SelectableLabel ( string text ) : void
text string The text to show.
return void

SelectableLabel() public static method

Make a selectable label field. (Useful for showing read-only info that can be copy-pasted.)

public static SelectableLabel ( string text, GUIStyle style ) : void
text string The text to show.
style UnityEngine.GUIStyle Optional GUIStyle.
return void

Separator() public static method

public static Separator ( ) : void
return void

Slider() public static method

Make a slider the user can drag to change a value between a min and a max.

public static Slider ( GUIContent label, float value, float leftValue, float rightValue ) : float
label UnityEngine.GUIContent Optional label in front of the slider.
value float The value the slider shows. This determines the position of the draggable thumb.
leftValue float The value at the left end of the slider.
rightValue float The value at the right end of the slider.
return float

Slider() public static method

Make a slider the user can drag to change a value between a min and a max.

public static Slider ( float value, float leftValue, float rightValue ) : float
value float The value the slider shows. This determines the position of the draggable thumb.
leftValue float The value at the left end of the slider.
rightValue float The value at the right end of the slider.
return float

Slider() public static method

Make a slider the user can drag to change a value between a min and a max.

public static Slider ( string label, float value, float leftValue, float rightValue ) : float
label string Optional label in front of the slider.
value float The value the slider shows. This determines the position of the draggable thumb.
leftValue float The value at the left end of the slider.
rightValue float The value at the right end of the slider.
return float

Slider() public static method

Make a slider the user can drag to change a value between a min and a max.

public static Slider ( UnityEditor.SerializedProperty property, float leftValue, float rightValue ) : void
property UnityEditor.SerializedProperty The value the slider shows. This determines the position of the draggable thumb.
leftValue float The value at the left end of the slider.
rightValue float The value at the right end of the slider.
return void

Slider() public static method

Make a slider the user can drag to change a value between a min and a max.

public static Slider ( UnityEditor.SerializedProperty property, float leftValue, float rightValue, GUIContent label ) : void
property UnityEditor.SerializedProperty The value the slider shows. This determines the position of the draggable thumb.
leftValue float The value at the left end of the slider.
rightValue float The value at the right end of the slider.
label UnityEngine.GUIContent Optional label in front of the slider.
return void

Slider() public static method

Make a slider the user can drag to change a value between a min and a max.

public static Slider ( UnityEditor.SerializedProperty property, float leftValue, float rightValue, string label ) : void
property UnityEditor.SerializedProperty The value the slider shows. This determines the position of the draggable thumb.
leftValue float The value at the left end of the slider.
rightValue float The value at the right end of the slider.
label string Optional label in front of the slider.
return void

Space() public static method

Make a small space between the previous control and the following.

public static Space ( ) : void
return void

TagField() public static method

Make a tag selection field.

public static TagField ( GUIContent label, string tag ) : string
label UnityEngine.GUIContent Optional label in front of the field.
tag string The tag the field shows.
return string

TagField() public static method

Make a tag selection field.

public static TagField ( GUIContent label, string tag, GUIStyle style ) : string
label UnityEngine.GUIContent Optional label in front of the field.
tag string The tag the field shows.
style UnityEngine.GUIStyle Optional GUIStyle.
return string

TagField() public static method

Make a tag selection field.

public static TagField ( string tag ) : string
tag string The tag the field shows.
return string

TagField() public static method

Make a tag selection field.

public static TagField ( string tag, GUIStyle style ) : string
tag string The tag the field shows.
style UnityEngine.GUIStyle Optional GUIStyle.
return string

TagField() public static method

Make a tag selection field.

public static TagField ( string label, string tag ) : string
label string Optional label in front of the field.
tag string The tag the field shows.
return string

TagField() public static method

Make a tag selection field.

public static TagField ( string label, string tag, GUIStyle style ) : string
label string Optional label in front of the field.
tag string The tag the field shows.
style UnityEngine.GUIStyle Optional GUIStyle.
return string