C# Class UnityEditor.EditorGUILayout

Auto-layouted version of EditorGUI.

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat bool

BeginHorizontal() public static méthode

Begin a horizontal group and get its rect back.

public static BeginHorizontal ( ) : Rect
Résultat UnityEngine.Rect

BeginHorizontal() public static méthode

Begin a horizontal group and get its rect back.

public static BeginHorizontal ( GUIStyle style ) : Rect
style UnityEngine.GUIStyle Optional GUIStyle.
Résultat UnityEngine.Rect

BeginScrollView() public static méthode

Begin an automatically layouted scrollview.

public static BeginScrollView ( Vector2 scrollPosition ) : Vector2
scrollPosition Vector2 The position to use display.
Résultat Vector2

BeginScrollView() public static méthode

public static BeginScrollView ( Vector2 scrollPosition, GUIStyle style ) : Vector2
scrollPosition Vector2
style UnityEngine.GUIStyle
Résultat Vector2

BeginScrollView() public static méthode

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.
Résultat Vector2

BeginScrollView() public static méthode

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
Résultat Vector2

BeginScrollView() public static méthode

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
Résultat Vector2

BeginToggleGroup() public static méthode

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.
Résultat bool

BeginToggleGroup() public static méthode

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.
Résultat bool

BeginVertical() public static méthode

Begin a vertical group and get its rect back.

public static BeginVertical ( ) : Rect
Résultat UnityEngine.Rect

BeginVertical() public static méthode

Begin a vertical group and get its rect back.

public static BeginVertical ( GUIStyle style ) : Rect
style UnityEngine.GUIStyle Optional GUIStyle.
Résultat UnityEngine.Rect

BoundsField() public static méthode

Make Center & Extents field for entering a Bounds.

public static BoundsField ( Bounds value ) : Bounds
value UnityEngine.Bounds The value to edit.
Résultat UnityEngine.Bounds

BoundsField() public static méthode

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.
Résultat UnityEngine.Bounds

BoundsField() public static méthode

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.
Résultat UnityEngine.Bounds

ColorField() public static méthode

Make a field for selecting a Color.

public static ColorField ( Color value ) : Color
value Color The color to edit.
Résultat Color

ColorField() public static méthode

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.
Résultat Color

ColorField() public static méthode

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.
Résultat Color

ColorField() public static méthode

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.
Résultat Color

CurveField() public static méthode

Make a field for editing an AnimationCurve.

public static CurveField ( AnimationCurve value ) : AnimationCurve
value UnityEngine.AnimationCurve The curve to edit.
Résultat UnityEngine.AnimationCurve

CurveField() public static méthode

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.
Résultat UnityEngine.AnimationCurve

CurveField() public static méthode

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.
Résultat UnityEngine.AnimationCurve

CurveField() public static méthode

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.
Résultat UnityEngine.AnimationCurve

CurveField() public static méthode

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.
Résultat UnityEngine.AnimationCurve

CurveField() public static méthode

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.
Résultat UnityEngine.AnimationCurve

CurveField() public static méthode

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.
Résultat void

CurveField() public static méthode

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.
Résultat void

DelayedDoubleField() public static méthode

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.
Résultat double

DelayedDoubleField() public static méthode

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.
Résultat double

DelayedDoubleField() public static méthode

Make a delayed text field for entering doubles.

public static DelayedDoubleField ( double value ) : double
value double The value to edit.
Résultat double

DelayedDoubleField() public static méthode

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.
Résultat double

DelayedDoubleField() public static méthode

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.
Résultat double

DelayedDoubleField() public static méthode

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.
Résultat double

DelayedFloatField() public static méthode

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.
Résultat float

DelayedFloatField() public static méthode

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.
Résultat float

DelayedFloatField() public static méthode

Make a delayed text field for entering floats.

public static DelayedFloatField ( float value ) : float
value float The value to edit.
Résultat float

DelayedFloatField() public static méthode

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.
Résultat float

DelayedFloatField() public static méthode

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.
Résultat float

DelayedFloatField() public static méthode

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.
Résultat float

DelayedFloatField() public static méthode

Make a delayed text field for entering floats.

public static DelayedFloatField ( UnityEditor.SerializedProperty property ) : void
property UnityEditor.SerializedProperty The float property to edit.
Résultat void

DelayedFloatField() public static méthode

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.
Résultat void

DelayedIntField() public static méthode

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.
Résultat int

DelayedIntField() public static méthode

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.
Résultat int

DelayedIntField() public static méthode

Make a delayed text field for entering integers.

public static DelayedIntField ( int value ) : int
value int The value to edit.
Résultat int

DelayedIntField() public static méthode

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.
Résultat int

DelayedIntField() public static méthode

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.
Résultat int

DelayedIntField() public static méthode

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.
Résultat int

DelayedIntField() public static méthode

Make a delayed text field for entering integers.

public static DelayedIntField ( UnityEditor.SerializedProperty property ) : void
property UnityEditor.SerializedProperty The int property to edit.
Résultat void

DelayedIntField() public static méthode

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.
Résultat void

DelayedTextField() public static méthode

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.
Résultat string

DelayedTextField() public static méthode

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.
Résultat string

DelayedTextField() public static méthode

Make a delayed text field.

public static DelayedTextField ( string text ) : string
text string The text to edit.
Résultat string

DelayedTextField() public static méthode

Make a delayed text field.

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

DelayedTextField() public static méthode

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.
Résultat string

DelayedTextField() public static méthode

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.
Résultat string

DelayedTextField() public static méthode

Make a delayed text field.

public static DelayedTextField ( UnityEditor.SerializedProperty property ) : void
property UnityEditor.SerializedProperty The text property to edit.
Résultat void

DelayedTextField() public static méthode

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.
Résultat void

DoubleField() public static méthode

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.
Résultat double

DoubleField() public static méthode

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.
Résultat double

DoubleField() public static méthode

Make a text field for entering double values.

public static DoubleField ( double value ) : double
value double The value to edit.
Résultat double

DoubleField() public static méthode

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.
Résultat double

DoubleField() public static méthode

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.
Résultat double

DoubleField() public static méthode

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.
Résultat double

EndFadeGroup() public static méthode

Closes a group started with BeginFadeGroup.

public static EndFadeGroup ( ) : void
Résultat void

EndHorizontal() public static méthode

Close a group started with BeginHorizontal.

public static EndHorizontal ( ) : void
Résultat void

EndScrollView() public static méthode

Ends a scrollview started with a call to BeginScrollView.

public static EndScrollView ( ) : void
Résultat void

EndToggleGroup() public static méthode

Close a group started with BeginToggleGroup.

public static EndToggleGroup ( ) : void
Résultat void

EndVertical() public static méthode

Close a group started with BeginVertical.

public static EndVertical ( ) : void
Résultat void

EnumMaskField() public static méthode

Make a field for enum based masks.

public static EnumMaskField ( Enum enumValue ) : Enum
enumValue System.Enum Enum to use for the flags.
Résultat System.Enum

EnumMaskField() public static méthode

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
Résultat System.Enum

EnumMaskField() public static méthode

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.
Résultat System.Enum

EnumMaskField() public static méthode

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
Résultat System.Enum

EnumMaskField() public static méthode

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.
Résultat System.Enum

EnumMaskField() public static méthode

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
Résultat System.Enum

EnumMaskPopup() public static méthode

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.
Résultat System.Enum

EnumMaskPopup() public static méthode

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.
Résultat System.Enum

EnumMaskPopup() public static méthode

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.
Résultat System.Enum

EnumMaskPopup() public static méthode

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.
Résultat System.Enum

EnumPopup() public static méthode

Make an enum popup selection field.

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

EnumPopup() public static méthode

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.
Résultat System.Enum

EnumPopup() public static méthode

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.
Résultat System.Enum

EnumPopup() public static méthode

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.
Résultat System.Enum

EnumPopup() public static méthode

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.
Résultat System.Enum

EnumPopup() public static méthode

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.
Résultat System.Enum

FloatField() public static méthode

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.
Résultat float

FloatField() public static méthode

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.
Résultat float

FloatField() public static méthode

Make a text field for entering float values.

public static FloatField ( float value ) : float
value float The value to edit.
Résultat float

FloatField() public static méthode

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.
Résultat float

FloatField() public static méthode

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.
Résultat float

FloatField() public static méthode

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.
Résultat float

Foldout() public static méthode

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.
Résultat bool

Foldout() public static méthode

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.
Résultat bool

Foldout() public static méthode

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.
Résultat bool

Foldout() public static méthode

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.
Résultat bool

GetControlRect() public static méthode

Get a rect for an Editor control.

public static GetControlRect ( ) : Rect
Résultat UnityEngine.Rect

GetControlRect() public static méthode

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.
Résultat UnityEngine.Rect

GetControlRect() public static méthode

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.
Résultat UnityEngine.Rect

GetControlRect() public static méthode

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.
Résultat UnityEngine.Rect

HelpBox() public static méthode

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.
Résultat void

HelpBox() public static méthode

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.
Résultat void

InspectorTitlebar() public static méthode

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.
Résultat bool

InspectorTitlebar() public static méthode

public static InspectorTitlebar ( bool foldout, Object targetObj, bool expandable ) : bool
foldout bool
targetObj Object
expandable bool
Résultat bool

InspectorTitlebar() public static méthode

public static InspectorTitlebar ( Object targetObjs ) : void
targetObjs Object
Résultat void

IntField() public static méthode

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.
Résultat int

IntField() public static méthode

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.
Résultat int

IntField() public static méthode

Make a text field for entering integers.

public static IntField ( int value ) : int
value int The value to edit.
Résultat int

IntField() public static méthode

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.
Résultat int

IntField() public static méthode

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.
Résultat int

IntField() public static méthode

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.
Résultat int

IntPopup() public static méthode

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.
Résultat int

IntPopup() public static méthode

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.
Résultat int

IntPopup() public static méthode

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.
Résultat int

IntPopup() public static méthode

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.
Résultat int

IntPopup() public static méthode

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.
Résultat int

IntPopup() public static méthode

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.
Résultat int

IntPopup() public static méthode

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.
Résultat int

IntPopup() public static méthode

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.
Résultat int

IntPopup() public static méthode

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.
Résultat void

IntPopup() public static méthode

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.
Résultat void

IntSlider() public static méthode

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.
Résultat int

IntSlider() public static méthode

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.
Résultat int

IntSlider() public static méthode

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.
Résultat int

IntSlider() public static méthode

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.
Résultat void

IntSlider() public static méthode

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.
Résultat void

IntSlider() public static méthode

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.
Résultat void

Knob() public static méthode

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
Résultat float

LabelField() public static méthode

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.
Résultat void

LabelField() public static méthode

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.
Résultat void

LabelField() public static méthode

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
Résultat void

LabelField() public static méthode

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
Résultat void

LabelField() public static méthode

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.
Résultat void

LabelField() public static méthode

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
Résultat void

LabelField() public static méthode

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.
Résultat void

LabelField() public static méthode

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
Résultat void

LayerField() public static méthode

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.
Résultat int

LayerField() public static méthode

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.
Résultat int

LayerField() public static méthode

Make a layer selection field.

public static LayerField ( int layer ) : int
layer int The layer shown in the field.
Résultat int

LayerField() public static méthode

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.
Résultat int

LayerField() public static méthode

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.
Résultat int

LayerField() public static méthode

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.
Résultat int

LongField() public static méthode

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.
Résultat long

LongField() public static méthode

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.
Résultat long

LongField() public static méthode

Make a text field for entering long integers.

public static LongField ( long value ) : long
value long The value to edit.
Résultat long

LongField() public static méthode

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.
Résultat long

LongField() public static méthode

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.
Résultat long

LongField() public static méthode

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.
Résultat long

MaskField() public static méthode

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
Résultat int

MaskField() public static méthode

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
Résultat int

MaskField() public static méthode

Make a field for masks.

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

MaskField() public static méthode

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
Résultat int

MaskField() public static méthode

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
Résultat int

MaskField() public static méthode

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
Résultat int

MinMaxSlider() public static méthode

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
Résultat void

MinMaxSlider() public static méthode

public static MinMaxSlider ( float &minValue, float &maxValue, float minLimit, float maxLimit ) : void
minValue float
maxValue float
minLimit float
maxLimit float
Résultat void

MinMaxSlider() public static méthode

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

ObjectField() public static méthode

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.
Résultat Object

ObjectField() public static méthode

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.
Résultat Object

ObjectField() public static méthode

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.
Résultat Object

ObjectField() public static méthode

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.
Résultat void

ObjectField() public static méthode

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.
Résultat void

ObjectField() public static méthode

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.
Résultat void

ObjectField() public static méthode

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.
Résultat void

PasswordField() public static méthode

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.
Résultat string

PasswordField() public static méthode

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.
Résultat string

PasswordField() public static méthode

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

public static PasswordField ( string password ) : string
password string The password to edit.
Résultat string

PasswordField() public static méthode

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.
Résultat string

PasswordField() public static méthode

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.
Résultat string

PasswordField() public static méthode

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.
Résultat string

Popup() public static méthode

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.
Résultat int

Popup() public static méthode

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.
Résultat int

Popup() public static méthode

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.
Résultat int

Popup() public static méthode

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.
Résultat int

Popup() public static méthode

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.
Résultat int

Popup() public static méthode

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.
Résultat int

Popup() public static méthode

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.
Résultat int

Popup() public static méthode

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.
Résultat int

PrefixLabel() public static méthode

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
Résultat void

PrefixLabel() public static méthode

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 [
Résultat void

PrefixLabel() public static méthode

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
Résultat void

PrefixLabel() public static méthode

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 [
Résultat void

PropertyField() public static méthode

Make a field for SerializedProperty.

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

PropertyField() public static méthode

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.
Résultat bool

PropertyField() public static méthode

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).
Résultat bool

PropertyField() public static méthode

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).
Résultat bool

RectField() public static méthode

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.
Résultat UnityEngine.Rect

RectField() public static méthode

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

public static RectField ( Rect value ) : Rect
value UnityEngine.Rect The value to edit.
Résultat UnityEngine.Rect

RectField() public static méthode

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.
Résultat UnityEngine.Rect

SelectableLabel() public static méthode

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.
Résultat void

SelectableLabel() public static méthode

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.
Résultat void

Separator() public static méthode

public static Separator ( ) : void
Résultat void

Slider() public static méthode

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.
Résultat float

Slider() public static méthode

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.
Résultat float

Slider() public static méthode

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.
Résultat float

Slider() public static méthode

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.
Résultat void

Slider() public static méthode

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.
Résultat void

Slider() public static méthode

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.
Résultat void

Space() public static méthode

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

public static Space ( ) : void
Résultat void

TagField() public static méthode

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.
Résultat string

TagField() public static méthode

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.
Résultat string

TagField() public static méthode

Make a tag selection field.

public static TagField ( string tag ) : string
tag string The tag the field shows.
Résultat string

TagField() public static méthode

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.
Résultat string

TagField() public static méthode

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.
Résultat string

TagField() public static méthode

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.
Résultat string