Class EditorGUI
Assembly: UnityEditor.dll
Syntax
public sealed class EditorGUI
Properties
|
Improve this Doc
View Source
actionKey
Declaration
public static bool actionKey { get; }
Property Value
|
Improve this Doc
View Source
indentLevel
Declaration
public static int indentLevel { get; set; }
Property Value
|
Improve this Doc
View Source
showMixedValue
Declaration
public static bool showMixedValue { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
BeginChangeCheck()
Declaration
public static void BeginChangeCheck()
|
Improve this Doc
View Source
BeginDisabledGroup(Boolean)
Declaration
public static void BeginDisabledGroup(bool disabled)
Parameters
Type |
Name |
Description |
Boolean |
disabled |
|
|
Improve this Doc
View Source
BeginProperty(Rect, GUIContent, SerializedProperty)
Declaration
public static GUIContent BeginProperty(Rect totalPosition, GUIContent label, SerializedProperty property)
Parameters
Returns
|
Improve this Doc
View Source
BoundsField(Rect, String, Bounds)
Declaration
public static Bounds BoundsField(Rect position, string label, Bounds value)
Parameters
Returns
|
Improve this Doc
View Source
BoundsField(Rect, Bounds)
Declaration
public static Bounds BoundsField(Rect position, Bounds value)
Parameters
Returns
|
Improve this Doc
View Source
BoundsField(Rect, GUIContent, Bounds)
Declaration
public static Bounds BoundsField(Rect position, GUIContent label, Bounds value)
Parameters
Returns
|
Improve this Doc
View Source
BoundsIntField(Rect, String, BoundsInt)
Declaration
public static BoundsInt BoundsIntField(Rect position, string label, BoundsInt value)
Parameters
Returns
|
Improve this Doc
View Source
BoundsIntField(Rect, BoundsInt)
Declaration
public static BoundsInt BoundsIntField(Rect position, BoundsInt value)
Parameters
Returns
|
Improve this Doc
View Source
BoundsIntField(Rect, GUIContent, BoundsInt)
Declaration
public static BoundsInt BoundsIntField(Rect position, GUIContent label, BoundsInt value)
Parameters
Returns
|
Improve this Doc
View Source
CanCacheInspectorGUI(SerializedProperty)
Declaration
public static bool CanCacheInspectorGUI(SerializedProperty property)
Parameters
Returns
|
Improve this Doc
View Source
ColorField(Rect, String, Color)
Declaration
public static Color ColorField(Rect position, string label, Color value)
Parameters
Returns
|
Improve this Doc
View Source
ColorField(Rect, Color)
Declaration
public static Color ColorField(Rect position, Color value)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Color |
value |
|
Returns
|
Improve this Doc
View Source
ColorField(Rect, GUIContent, Color)
Declaration
public static Color ColorField(Rect position, GUIContent label, Color value)
Parameters
Returns
|
Improve this Doc
View Source
ColorField(Rect, GUIContent, Color, Boolean, Boolean, Boolean)
Declaration
public static Color ColorField(Rect position, GUIContent label, Color value, bool showEyedropper, bool showAlpha, bool hdr)
Parameters
Returns
|
Improve this Doc
View Source
ColorField(Rect, GUIContent, Color, Boolean, Boolean, Boolean, ColorPickerHDRConfig)
Declaration
[Obsolete("Use EditorGUI.ColorField(Rect position, GUIContent label, Color value, bool showEyedropper, bool showAlpha, bool hdr)")]
public static Color ColorField(Rect position, GUIContent label, Color value, bool showEyedropper, bool showAlpha, bool hdr, ColorPickerHDRConfig hdrConfig)
Parameters
Returns
|
Improve this Doc
View Source
CurveField(Rect, String, AnimationCurve)
Declaration
public static AnimationCurve CurveField(Rect position, string label, AnimationCurve value)
Parameters
Returns
|
Improve this Doc
View Source
CurveField(Rect, String, AnimationCurve, Color, Rect)
Declaration
public static AnimationCurve CurveField(Rect position, string label, AnimationCurve value, Color color, Rect ranges)
Parameters
Returns
|
Improve this Doc
View Source
CurveField(Rect, SerializedProperty, Color, Rect)
Declaration
public static void CurveField(Rect position, SerializedProperty property, Color color, Rect ranges)
Parameters
|
Improve this Doc
View Source
CurveField(Rect, SerializedProperty, Color, Rect, GUIContent)
Declaration
public static void CurveField(Rect position, SerializedProperty property, Color color, Rect ranges, GUIContent label)
Parameters
|
Improve this Doc
View Source
CurveField(Rect, AnimationCurve)
Declaration
public static AnimationCurve CurveField(Rect position, AnimationCurve value)
Parameters
Returns
|
Improve this Doc
View Source
CurveField(Rect, AnimationCurve, Color, Rect)
Declaration
public static AnimationCurve CurveField(Rect position, AnimationCurve value, Color color, Rect ranges)
Parameters
Returns
|
Improve this Doc
View Source
CurveField(Rect, GUIContent, AnimationCurve)
Declaration
public static AnimationCurve CurveField(Rect position, GUIContent label, AnimationCurve value)
Parameters
Returns
|
Improve this Doc
View Source
CurveField(Rect, GUIContent, AnimationCurve, Color, Rect)
Declaration
public static AnimationCurve CurveField(Rect position, GUIContent label, AnimationCurve value, Color color, Rect ranges)
Parameters
Returns
|
Improve this Doc
View Source
DelayedDoubleField(Rect, Double)
Declaration
[ExcludeFromDocs]
public static double DelayedDoubleField(Rect position, double value)
Parameters
Returns
|
Improve this Doc
View Source
DelayedDoubleField(Rect, Double, GUIStyle)
Declaration
public static double DelayedDoubleField(Rect position, double value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DelayedDoubleField(Rect, String, Double)
Declaration
[ExcludeFromDocs]
public static double DelayedDoubleField(Rect position, string label, double value)
Parameters
Returns
|
Improve this Doc
View Source
DelayedDoubleField(Rect, String, Double, GUIStyle)
Declaration
public static double DelayedDoubleField(Rect position, string label, double value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DelayedDoubleField(Rect, GUIContent, Double)
Declaration
[ExcludeFromDocs]
public static double DelayedDoubleField(Rect position, GUIContent label, double value)
Parameters
Returns
|
Improve this Doc
View Source
DelayedDoubleField(Rect, GUIContent, Double, GUIStyle)
Declaration
public static double DelayedDoubleField(Rect position, GUIContent label, double value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DelayedFloatField(Rect, Single)
Declaration
[ExcludeFromDocs]
public static float DelayedFloatField(Rect position, float value)
Parameters
Returns
|
Improve this Doc
View Source
DelayedFloatField(Rect, Single, GUIStyle)
Declaration
public static float DelayedFloatField(Rect position, float value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DelayedFloatField(Rect, String, Single)
Declaration
[ExcludeFromDocs]
public static float DelayedFloatField(Rect position, string label, float value)
Parameters
Returns
|
Improve this Doc
View Source
DelayedFloatField(Rect, String, Single, GUIStyle)
Declaration
public static float DelayedFloatField(Rect position, string label, float value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DelayedFloatField(Rect, SerializedProperty)
Declaration
[ExcludeFromDocs]
public static void DelayedFloatField(Rect position, SerializedProperty property)
Parameters
|
Improve this Doc
View Source
DelayedFloatField(Rect, SerializedProperty, GUIContent)
Declaration
public static void DelayedFloatField(Rect position, SerializedProperty property, [DefaultValue("null")] GUIContent label)
Parameters
|
Improve this Doc
View Source
DelayedFloatField(Rect, GUIContent, Single)
Declaration
[ExcludeFromDocs]
public static float DelayedFloatField(Rect position, GUIContent label, float value)
Parameters
Returns
|
Improve this Doc
View Source
DelayedFloatField(Rect, GUIContent, Single, GUIStyle)
Declaration
public static float DelayedFloatField(Rect position, GUIContent label, float value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DelayedIntField(Rect, Int32)
Declaration
[ExcludeFromDocs]
public static int DelayedIntField(Rect position, int value)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Int32 |
value |
|
Returns
|
Improve this Doc
View Source
DelayedIntField(Rect, Int32, GUIStyle)
Declaration
public static int DelayedIntField(Rect position, int value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DelayedIntField(Rect, String, Int32)
Declaration
[ExcludeFromDocs]
public static int DelayedIntField(Rect position, string label, int value)
Parameters
Returns
|
Improve this Doc
View Source
DelayedIntField(Rect, String, Int32, GUIStyle)
Declaration
public static int DelayedIntField(Rect position, string label, int value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DelayedIntField(Rect, SerializedProperty)
Declaration
[ExcludeFromDocs]
public static void DelayedIntField(Rect position, SerializedProperty property)
Parameters
|
Improve this Doc
View Source
DelayedIntField(Rect, SerializedProperty, GUIContent)
Declaration
public static void DelayedIntField(Rect position, SerializedProperty property, [DefaultValue("null")] GUIContent label)
Parameters
|
Improve this Doc
View Source
DelayedIntField(Rect, GUIContent, Int32)
Declaration
[ExcludeFromDocs]
public static int DelayedIntField(Rect position, GUIContent label, int value)
Parameters
Returns
|
Improve this Doc
View Source
DelayedIntField(Rect, GUIContent, Int32, GUIStyle)
Declaration
public static int DelayedIntField(Rect position, GUIContent label, int value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DelayedTextField(Rect, String)
Declaration
[ExcludeFromDocs]
public static string DelayedTextField(Rect position, string text)
Parameters
Returns
|
Improve this Doc
View Source
DelayedTextField(Rect, String, String)
Declaration
[ExcludeFromDocs]
public static string DelayedTextField(Rect position, string label, string text)
Parameters
Returns
|
Improve this Doc
View Source
DelayedTextField(Rect, String, String, GUIStyle)
Declaration
public static string DelayedTextField(Rect position, string label, string text, [DefaultValue("EditorStyles.textField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DelayedTextField(Rect, String, GUIStyle)
Declaration
public static string DelayedTextField(Rect position, string text, [DefaultValue("EditorStyles.textField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DelayedTextField(Rect, SerializedProperty)
Declaration
[ExcludeFromDocs]
public static void DelayedTextField(Rect position, SerializedProperty property)
Parameters
|
Improve this Doc
View Source
DelayedTextField(Rect, SerializedProperty, GUIContent)
Declaration
public static void DelayedTextField(Rect position, SerializedProperty property, [DefaultValue("null")] GUIContent label)
Parameters
|
Improve this Doc
View Source
DelayedTextField(Rect, GUIContent, Int32, String)
Declaration
[ExcludeFromDocs]
public static string DelayedTextField(Rect position, GUIContent label, int controlId, string text)
Parameters
Returns
|
Improve this Doc
View Source
DelayedTextField(Rect, GUIContent, Int32, String, GUIStyle)
Declaration
public static string DelayedTextField(Rect position, GUIContent label, int controlId, string text, [DefaultValue("EditorStyles.textField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DelayedTextField(Rect, GUIContent, String)
Declaration
[ExcludeFromDocs]
public static string DelayedTextField(Rect position, GUIContent label, string text)
Parameters
Returns
|
Improve this Doc
View Source
DelayedTextField(Rect, GUIContent, String, GUIStyle)
Declaration
public static string DelayedTextField(Rect position, GUIContent label, string text, [DefaultValue("EditorStyles.textField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DoPasswordField(Int32, Rect, String, GUIStyle)
Declaration
[Obsolete("Use PasswordField instead.")]
public static string DoPasswordField(int id, Rect position, string password, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DoPasswordField(Int32, Rect, GUIContent, String, GUIStyle)
Declaration
[Obsolete("Use PasswordField instead.")]
public static string DoPasswordField(int id, Rect position, GUIContent label, string password, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DoubleField(Rect, Double)
Declaration
[ExcludeFromDocs]
public static double DoubleField(Rect position, double value)
Parameters
Returns
|
Improve this Doc
View Source
DoubleField(Rect, Double, GUIStyle)
Declaration
public static double DoubleField(Rect position, double value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DoubleField(Rect, String, Double)
Declaration
[ExcludeFromDocs]
public static double DoubleField(Rect position, string label, double value)
Parameters
Returns
|
Improve this Doc
View Source
DoubleField(Rect, String, Double, GUIStyle)
Declaration
public static double DoubleField(Rect position, string label, double value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DoubleField(Rect, GUIContent, Double)
Declaration
[ExcludeFromDocs]
public static double DoubleField(Rect position, GUIContent label, double value)
Parameters
Returns
|
Improve this Doc
View Source
DoubleField(Rect, GUIContent, Double, GUIStyle)
Declaration
public static double DoubleField(Rect position, GUIContent label, double value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DrawPreviewTexture(Rect, Texture)
Declaration
[ExcludeFromDocs]
public static void DrawPreviewTexture(Rect position, Texture image)
Parameters
|
Improve this Doc
View Source
DrawPreviewTexture(Rect, Texture, Material)
Declaration
[ExcludeFromDocs]
public static void DrawPreviewTexture(Rect position, Texture image, Material mat)
Parameters
|
Improve this Doc
View Source
DrawPreviewTexture(Rect, Texture, Material, ScaleMode)
Declaration
[ExcludeFromDocs]
public static void DrawPreviewTexture(Rect position, Texture image, Material mat, ScaleMode scaleMode)
Parameters
|
Improve this Doc
View Source
DrawPreviewTexture(Rect, Texture, Material, ScaleMode, Single)
Declaration
[ExcludeFromDocs]
public static void DrawPreviewTexture(Rect position, Texture image, Material mat, ScaleMode scaleMode, float imageAspect)
Parameters
|
Improve this Doc
View Source
DrawPreviewTexture(Rect, Texture, Material, ScaleMode, Single, Single)
Declaration
[ExcludeFromDocs]
public static void DrawPreviewTexture(Rect position, Texture image, Material mat, ScaleMode scaleMode, float imageAspect, float mipLevel)
Parameters
|
Improve this Doc
View Source
DrawPreviewTexture(Rect, Texture, Material, ScaleMode, Single, Single, ColorWriteMask)
Declaration
public static void DrawPreviewTexture(Rect position, Texture image, [DefaultValue("null")] Material mat, [DefaultValue("ScaleMode.StretchToFill")] ScaleMode scaleMode, [DefaultValue("0")] float imageAspect, [DefaultValue("-1")] float mipLevel, [DefaultValue("ColorWriteMask.All")] ColorWriteMask colorWriteMask)
Parameters
|
Improve this Doc
View Source
DrawRect(Rect, Color)
Declaration
public static void DrawRect(Rect rect, Color color)
Parameters
|
Improve this Doc
View Source
DrawTextureAlpha(Rect, Texture)
Declaration
[ExcludeFromDocs]
public static void DrawTextureAlpha(Rect position, Texture image)
Parameters
|
Improve this Doc
View Source
DrawTextureAlpha(Rect, Texture, ScaleMode)
Declaration
[ExcludeFromDocs]
public static void DrawTextureAlpha(Rect position, Texture image, ScaleMode scaleMode)
Parameters
|
Improve this Doc
View Source
DrawTextureAlpha(Rect, Texture, ScaleMode, Single)
Declaration
[ExcludeFromDocs]
public static void DrawTextureAlpha(Rect position, Texture image, ScaleMode scaleMode, float imageAspect)
Parameters
|
Improve this Doc
View Source
DrawTextureAlpha(Rect, Texture, ScaleMode, Single, Single)
Declaration
public static void DrawTextureAlpha(Rect position, Texture image, [DefaultValue("ScaleMode.StretchToFill")] ScaleMode scaleMode, [DefaultValue("0")] float imageAspect, [DefaultValue("-1")] float mipLevel)
Parameters
|
Improve this Doc
View Source
DrawTextureTransparent(Rect, Texture)
Declaration
[ExcludeFromDocs]
public static void DrawTextureTransparent(Rect position, Texture image)
Parameters
|
Improve this Doc
View Source
DrawTextureTransparent(Rect, Texture, ScaleMode)
Declaration
[ExcludeFromDocs]
public static void DrawTextureTransparent(Rect position, Texture image, ScaleMode scaleMode)
Parameters
|
Improve this Doc
View Source
DrawTextureTransparent(Rect, Texture, ScaleMode, Single)
Declaration
[ExcludeFromDocs]
public static void DrawTextureTransparent(Rect position, Texture image, ScaleMode scaleMode, float imageAspect)
Parameters
|
Improve this Doc
View Source
DrawTextureTransparent(Rect, Texture, ScaleMode, Single, Single)
Declaration
[ExcludeFromDocs]
public static void DrawTextureTransparent(Rect position, Texture image, ScaleMode scaleMode, float imageAspect, float mipLevel)
Parameters
|
Improve this Doc
View Source
DrawTextureTransparent(Rect, Texture, ScaleMode, Single, Single, ColorWriteMask)
Declaration
public static void DrawTextureTransparent(Rect position, Texture image, [DefaultValue("ScaleMode.StretchToFill")] ScaleMode scaleMode, [DefaultValue("0")] float imageAspect, [DefaultValue("-1")] float mipLevel, [DefaultValue("ColorWriteMask.All")] ColorWriteMask colorWriteMask)
Parameters
|
Improve this Doc
View Source
DropdownButton(Rect, GUIContent, FocusType)
Declaration
public static bool DropdownButton(Rect position, GUIContent content, FocusType focusType)
Parameters
Returns
|
Improve this Doc
View Source
DropdownButton(Rect, GUIContent, FocusType, GUIStyle)
Declaration
public static bool DropdownButton(Rect position, GUIContent content, FocusType focusType, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
DropShadowLabel(Rect, String)
Declaration
public static void DropShadowLabel(Rect position, string text)
Parameters
|
Improve this Doc
View Source
DropShadowLabel(Rect, String, GUIStyle)
Declaration
public static void DropShadowLabel(Rect position, string text, GUIStyle style)
Parameters
|
Improve this Doc
View Source
DropShadowLabel(Rect, GUIContent)
Declaration
public static void DropShadowLabel(Rect position, GUIContent content)
Parameters
|
Improve this Doc
View Source
DropShadowLabel(Rect, GUIContent, GUIStyle)
Declaration
public static void DropShadowLabel(Rect position, GUIContent content, GUIStyle style)
Parameters
|
Improve this Doc
View Source
EndChangeCheck()
Declaration
public static bool EndChangeCheck()
Returns
|
Improve this Doc
View Source
EndDisabledGroup()
Declaration
public static void EndDisabledGroup()
|
Improve this Doc
View Source
EndProperty()
Declaration
public static void EndProperty()
|
Improve this Doc
View Source
EnumFlagsField(Rect, Enum)
Declaration
public static Enum EnumFlagsField(Rect position, Enum enumValue)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Enum |
enumValue |
|
Returns
|
Improve this Doc
View Source
EnumFlagsField(Rect, Enum, GUIStyle)
Declaration
public static Enum EnumFlagsField(Rect position, Enum enumValue, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
EnumFlagsField(Rect, String, Enum)
Declaration
public static Enum EnumFlagsField(Rect position, string label, Enum enumValue)
Parameters
Returns
|
Improve this Doc
View Source
EnumFlagsField(Rect, String, Enum, GUIStyle)
Declaration
public static Enum EnumFlagsField(Rect position, string label, Enum enumValue, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
EnumFlagsField(Rect, GUIContent, Enum)
Declaration
public static Enum EnumFlagsField(Rect position, GUIContent label, Enum enumValue)
Parameters
Returns
|
Improve this Doc
View Source
EnumFlagsField(Rect, GUIContent, Enum, Boolean, GUIStyle)
Declaration
public static Enum EnumFlagsField(Rect position, GUIContent label, Enum enumValue, [DefaultValue("false")] bool includeObsolete, [DefaultValue("null")] GUIStyle style = null)
Parameters
Returns
|
Improve this Doc
View Source
EnumFlagsField(Rect, GUIContent, Enum, GUIStyle)
Declaration
public static Enum EnumFlagsField(Rect position, GUIContent label, Enum enumValue, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
EnumMaskField(Rect, Enum)
Declaration
[Obsolete("EnumMaskField has been deprecated. Use EnumFlagsField instead.")]
public static Enum EnumMaskField(Rect position, Enum enumValue)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Enum |
enumValue |
|
Returns
|
Improve this Doc
View Source
EnumMaskField(Rect, Enum, GUIStyle)
Declaration
[Obsolete("EnumMaskField has been deprecated. Use EnumFlagsField instead.")]
public static Enum EnumMaskField(Rect position, Enum enumValue, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
EnumMaskField(Rect, String, Enum)
Declaration
[Obsolete("EnumMaskField has been deprecated. Use EnumFlagsField instead.")]
public static Enum EnumMaskField(Rect position, string label, Enum enumValue)
Parameters
Returns
|
Improve this Doc
View Source
EnumMaskField(Rect, String, Enum, GUIStyle)
Declaration
[Obsolete("EnumMaskField has been deprecated. Use EnumFlagsField instead.")]
public static Enum EnumMaskField(Rect position, string label, Enum enumValue, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
EnumMaskField(Rect, GUIContent, Enum)
Declaration
[Obsolete("EnumMaskField has been deprecated. Use EnumFlagsField instead.")]
public static Enum EnumMaskField(Rect position, GUIContent label, Enum enumValue)
Parameters
Returns
|
Improve this Doc
View Source
EnumMaskField(Rect, GUIContent, Enum, GUIStyle)
Declaration
[Obsolete("EnumMaskField has been deprecated. Use EnumFlagsField instead.")]
public static Enum EnumMaskField(Rect position, GUIContent label, Enum enumValue, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[Obsolete("EnumMaskPopup has been deprecated. Use EnumFlagsField instead.")]
public static Enum EnumMaskPopup(Rect position, string label, Enum selected)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[Obsolete("EnumMaskPopup has been deprecated. Use EnumFlagsField instead.")]
public static Enum EnumMaskPopup(Rect position, string label, Enum selected, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[Obsolete("EnumMaskPopup has been deprecated. Use EnumFlagsField instead.")]
public static Enum EnumMaskPopup(Rect position, GUIContent label, Enum selected)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[Obsolete("EnumMaskPopup has been deprecated. Use EnumFlagsField instead.")]
public static Enum EnumMaskPopup(Rect position, GUIContent label, Enum selected, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static Enum EnumPopup(Rect position, Enum selected)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Enum |
selected |
|
Returns
|
Improve this Doc
View Source
Declaration
public static Enum EnumPopup(Rect position, Enum selected, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static Enum EnumPopup(Rect position, string label, Enum selected)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static Enum EnumPopup(Rect position, string label, Enum selected, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static Enum EnumPopup(Rect position, GUIContent label, Enum selected)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static Enum EnumPopup(Rect position, GUIContent label, Enum selected, [DefaultValue("null")] Func<Enum, bool> checkEnabled, [DefaultValue("false")] bool includeObsolete = false, [DefaultValue("null")] GUIStyle style = null)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static Enum EnumPopup(Rect position, GUIContent label, Enum selected, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
FloatField(Rect, Single)
Declaration
[ExcludeFromDocs]
public static float FloatField(Rect position, float value)
Parameters
Returns
|
Improve this Doc
View Source
FloatField(Rect, Single, GUIStyle)
Declaration
public static float FloatField(Rect position, float value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
FloatField(Rect, String, Single)
Declaration
[ExcludeFromDocs]
public static float FloatField(Rect position, string label, float value)
Parameters
Returns
|
Improve this Doc
View Source
FloatField(Rect, String, Single, GUIStyle)
Declaration
public static float FloatField(Rect position, string label, float value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
FloatField(Rect, GUIContent, Single)
Declaration
[ExcludeFromDocs]
public static float FloatField(Rect position, GUIContent label, float value)
Parameters
Returns
|
Improve this Doc
View Source
FloatField(Rect, GUIContent, Single, GUIStyle)
Declaration
public static float FloatField(Rect position, GUIContent label, float value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
FocusTextInControl(String)
Declaration
public static void FocusTextInControl(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
|
Improve this Doc
View Source
Foldout(Rect, Boolean, String)
Declaration
[ExcludeFromDocs]
public static bool Foldout(Rect position, bool foldout, string content)
Parameters
Returns
|
Improve this Doc
View Source
Foldout(Rect, Boolean, String, Boolean)
Declaration
[ExcludeFromDocs]
public static bool Foldout(Rect position, bool foldout, string content, bool toggleOnLabelClick)
Parameters
Returns
|
Improve this Doc
View Source
Foldout(Rect, Boolean, String, Boolean, GUIStyle)
Declaration
public static bool Foldout(Rect position, bool foldout, string content, bool toggleOnLabelClick, [DefaultValue("EditorStyles.foldout")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Foldout(Rect, Boolean, String, GUIStyle)
Declaration
public static bool Foldout(Rect position, bool foldout, string content, [DefaultValue("EditorStyles.foldout")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Foldout(Rect, Boolean, GUIContent)
Declaration
[ExcludeFromDocs]
public static bool Foldout(Rect position, bool foldout, GUIContent content)
Parameters
Returns
|
Improve this Doc
View Source
Foldout(Rect, Boolean, GUIContent, Boolean)
Declaration
[ExcludeFromDocs]
public static bool Foldout(Rect position, bool foldout, GUIContent content, bool toggleOnLabelClick)
Parameters
Returns
|
Improve this Doc
View Source
Foldout(Rect, Boolean, GUIContent, Boolean, GUIStyle)
Declaration
public static bool Foldout(Rect position, bool foldout, GUIContent content, bool toggleOnLabelClick, [DefaultValue("EditorStyles.foldout")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Foldout(Rect, Boolean, GUIContent, GUIStyle)
Declaration
public static bool Foldout(Rect position, bool foldout, GUIContent content, [DefaultValue("EditorStyles.foldout")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
GetPropertyHeight(SerializedProperty)
Declaration
[ExcludeFromDocs]
public static float GetPropertyHeight(SerializedProperty property)
Parameters
Returns
|
Improve this Doc
View Source
GetPropertyHeight(SerializedProperty, Boolean)
Declaration
public static float GetPropertyHeight(SerializedProperty property, bool includeChildren)
Parameters
Returns
|
Improve this Doc
View Source
GetPropertyHeight(SerializedProperty, GUIContent)
Declaration
[ExcludeFromDocs]
public static float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
Returns
|
Improve this Doc
View Source
GetPropertyHeight(SerializedProperty, GUIContent, Boolean)
Declaration
public static float GetPropertyHeight(SerializedProperty property, [DefaultValue("null")] GUIContent label, [DefaultValue("true")] bool includeChildren)
Parameters
Returns
|
Improve this Doc
View Source
GetPropertyHeight(SerializedPropertyType, GUIContent)
Declaration
public static float GetPropertyHeight(SerializedPropertyType type, GUIContent label)
Parameters
Returns
|
Improve this Doc
View Source
GradientField(Rect, String, Gradient)
Declaration
public static Gradient GradientField(Rect position, string label, Gradient gradient)
Parameters
Returns
|
Improve this Doc
View Source
GradientField(Rect, Gradient)
Declaration
public static Gradient GradientField(Rect position, Gradient gradient)
Parameters
Returns
|
Improve this Doc
View Source
GradientField(Rect, GUIContent, Gradient)
Declaration
public static Gradient GradientField(Rect position, GUIContent label, Gradient gradient)
Parameters
Returns
|
Improve this Doc
View Source
GradientField(Rect, GUIContent, Gradient, Boolean)
Declaration
public static Gradient GradientField(Rect position, GUIContent label, Gradient gradient, bool hdr)
Parameters
Returns
|
Improve this Doc
View Source
HandlePrefixLabel(Rect, Rect, GUIContent)
Declaration
[ExcludeFromDocs]
public static void HandlePrefixLabel(Rect totalPosition, Rect labelPosition, GUIContent label)
Parameters
|
Improve this Doc
View Source
HandlePrefixLabel(Rect, Rect, GUIContent, Int32)
Declaration
[ExcludeFromDocs]
public static void HandlePrefixLabel(Rect totalPosition, Rect labelPosition, GUIContent label, int id)
Parameters
|
Improve this Doc
View Source
HandlePrefixLabel(Rect, Rect, GUIContent, Int32, GUIStyle)
Declaration
public static void HandlePrefixLabel(Rect totalPosition, Rect labelPosition, GUIContent label, [DefaultValue("0")] int id, [DefaultValue("EditorStyles.label")] GUIStyle style)
Parameters
|
Improve this Doc
View Source
HelpBox(Rect, String, MessageType)
Declaration
public static void HelpBox(Rect position, string message, MessageType type)
Parameters
|
Improve this Doc
View Source
IndentedRect(Rect)
Declaration
public static Rect IndentedRect(Rect source)
Parameters
Type |
Name |
Description |
Rect |
source |
|
Returns
|
Improve this Doc
View Source
InspectorTitlebar(Rect, Boolean, Editor)
Declaration
public static bool InspectorTitlebar(Rect position, bool foldout, Editor editor)
Parameters
Returns
|
Improve this Doc
View Source
InspectorTitlebar(Rect, Boolean, Object, Boolean)
Declaration
public static bool InspectorTitlebar(Rect position, bool foldout, Object targetObj, bool expandable)
Parameters
Returns
|
Improve this Doc
View Source
InspectorTitlebar(Rect, Boolean, Object[], Boolean)
Declaration
public static bool InspectorTitlebar(Rect position, bool foldout, Object[] targetObjs, bool expandable)
Parameters
Returns
|
Improve this Doc
View Source
InspectorTitlebar(Rect, Object[])
Declaration
public static void InspectorTitlebar(Rect position, Object[] targetObjs)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Object[] |
targetObjs |
|
|
Improve this Doc
View Source
IntField(Rect, Int32)
Declaration
[ExcludeFromDocs]
public static int IntField(Rect position, int value)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Int32 |
value |
|
Returns
|
Improve this Doc
View Source
IntField(Rect, Int32, GUIStyle)
Declaration
public static int IntField(Rect position, int value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
IntField(Rect, String, Int32)
Declaration
[ExcludeFromDocs]
public static int IntField(Rect position, string label, int value)
Parameters
Returns
|
Improve this Doc
View Source
IntField(Rect, String, Int32, GUIStyle)
Declaration
public static int IntField(Rect position, string label, int value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
IntField(Rect, GUIContent, Int32)
Declaration
[ExcludeFromDocs]
public static int IntField(Rect position, GUIContent label, int value)
Parameters
Returns
|
Improve this Doc
View Source
IntField(Rect, GUIContent, Int32, GUIStyle)
Declaration
public static int IntField(Rect position, GUIContent label, int value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static int IntPopup(Rect position, int selectedValue, string[] displayedOptions, int[] optionValues)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Int32 |
selectedValue |
|
String[] |
displayedOptions |
|
Int32[] |
optionValues |
|
Returns
|
Improve this Doc
View Source
Declaration
public static int IntPopup(Rect position, int selectedValue, string[] displayedOptions, int[] optionValues, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static int IntPopup(Rect position, int selectedValue, GUIContent[] displayedOptions, int[] optionValues)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static int IntPopup(Rect position, int selectedValue, GUIContent[] displayedOptions, int[] optionValues, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static int IntPopup(Rect position, string label, int selectedValue, string[] displayedOptions, int[] optionValues)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static int IntPopup(Rect position, string label, int selectedValue, string[] displayedOptions, int[] optionValues, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static void IntPopup(Rect position, SerializedProperty property, GUIContent[] displayedOptions, int[] optionValues)
Parameters
|
Improve this Doc
View Source
Declaration
public static void IntPopup(Rect position, SerializedProperty property, GUIContent[] displayedOptions, int[] optionValues, [DefaultValue("null")] GUIContent label)
Parameters
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static int IntPopup(Rect position, GUIContent label, int selectedValue, GUIContent[] displayedOptions, int[] optionValues)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static int IntPopup(Rect position, GUIContent label, int selectedValue, GUIContent[] displayedOptions, int[] optionValues, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
IntSlider(Rect, Int32, Int32, Int32)
Declaration
public static int IntSlider(Rect position, int value, int leftValue, int rightValue)
Parameters
Returns
|
Improve this Doc
View Source
IntSlider(Rect, String, Int32, Int32, Int32)
Declaration
public static int IntSlider(Rect position, string label, int value, int leftValue, int rightValue)
Parameters
Returns
|
Improve this Doc
View Source
IntSlider(Rect, SerializedProperty, Int32, Int32)
Declaration
public static void IntSlider(Rect position, SerializedProperty property, int leftValue, int rightValue)
Parameters
|
Improve this Doc
View Source
IntSlider(Rect, SerializedProperty, Int32, Int32, String)
Declaration
public static void IntSlider(Rect position, SerializedProperty property, int leftValue, int rightValue, string label)
Parameters
|
Improve this Doc
View Source
IntSlider(Rect, SerializedProperty, Int32, Int32, GUIContent)
Declaration
public static void IntSlider(Rect position, SerializedProperty property, int leftValue, int rightValue, GUIContent label)
Parameters
|
Improve this Doc
View Source
IntSlider(Rect, GUIContent, Int32, Int32, Int32)
Declaration
public static int IntSlider(Rect position, GUIContent label, int value, int leftValue, int rightValue)
Parameters
Returns
|
Improve this Doc
View Source
LabelField(Rect, String)
Declaration
[ExcludeFromDocs]
public static void LabelField(Rect position, string label)
Parameters
|
Improve this Doc
View Source
LabelField(Rect, String, String)
Declaration
[ExcludeFromDocs]
public static void LabelField(Rect position, string label, string label2)
Parameters
|
Improve this Doc
View Source
LabelField(Rect, String, String, GUIStyle)
Declaration
public static void LabelField(Rect position, string label, string label2, [DefaultValue("EditorStyles.label")] GUIStyle style)
Parameters
|
Improve this Doc
View Source
LabelField(Rect, String, GUIStyle)
Declaration
public static void LabelField(Rect position, string label, [DefaultValue("EditorStyles.label")] GUIStyle style)
Parameters
|
Improve this Doc
View Source
LabelField(Rect, GUIContent)
Declaration
[ExcludeFromDocs]
public static void LabelField(Rect position, GUIContent label)
Parameters
|
Improve this Doc
View Source
LabelField(Rect, GUIContent, GUIContent)
Declaration
[ExcludeFromDocs]
public static void LabelField(Rect position, GUIContent label, GUIContent label2)
Parameters
|
Improve this Doc
View Source
LabelField(Rect, GUIContent, GUIContent, GUIStyle)
Declaration
public static void LabelField(Rect position, GUIContent label, GUIContent label2, [DefaultValue("EditorStyles.label")] GUIStyle style)
Parameters
|
Improve this Doc
View Source
LabelField(Rect, GUIContent, GUIStyle)
Declaration
public static void LabelField(Rect position, GUIContent label, [DefaultValue("EditorStyles.label")] GUIStyle style)
Parameters
|
Improve this Doc
View Source
LayerField(Rect, Int32)
Declaration
[ExcludeFromDocs]
public static int LayerField(Rect position, int layer)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Int32 |
layer |
|
Returns
|
Improve this Doc
View Source
LayerField(Rect, Int32, GUIStyle)
Declaration
public static int LayerField(Rect position, int layer, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
LayerField(Rect, String, Int32)
Declaration
[ExcludeFromDocs]
public static int LayerField(Rect position, string label, int layer)
Parameters
Returns
|
Improve this Doc
View Source
LayerField(Rect, String, Int32, GUIStyle)
Declaration
public static int LayerField(Rect position, string label, int layer, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
LayerField(Rect, GUIContent, Int32)
Declaration
[ExcludeFromDocs]
public static int LayerField(Rect position, GUIContent label, int layer)
Parameters
Returns
|
Improve this Doc
View Source
LayerField(Rect, GUIContent, Int32, GUIStyle)
Declaration
public static int LayerField(Rect position, GUIContent label, int layer, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
LongField(Rect, Int64)
Declaration
[ExcludeFromDocs]
public static long LongField(Rect position, long value)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Int64 |
value |
|
Returns
|
Improve this Doc
View Source
LongField(Rect, Int64, GUIStyle)
Declaration
public static long LongField(Rect position, long value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
LongField(Rect, String, Int64)
Declaration
[ExcludeFromDocs]
public static long LongField(Rect position, string label, long value)
Parameters
Returns
|
Improve this Doc
View Source
LongField(Rect, String, Int64, GUIStyle)
Declaration
public static long LongField(Rect position, string label, long value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
LongField(Rect, GUIContent, Int64)
Declaration
[ExcludeFromDocs]
public static long LongField(Rect position, GUIContent label, long value)
Parameters
Returns
|
Improve this Doc
View Source
LongField(Rect, GUIContent, Int64, GUIStyle)
Declaration
public static long LongField(Rect position, GUIContent label, long value, [DefaultValue("EditorStyles.numberField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
MaskField(Rect, Int32, String[])
Declaration
[ExcludeFromDocs]
public static int MaskField(Rect position, int mask, string[] displayedOptions)
Parameters
Returns
|
Improve this Doc
View Source
MaskField(Rect, Int32, String[], GUIStyle)
Declaration
public static int MaskField(Rect position, int mask, string[] displayedOptions, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
MaskField(Rect, String, Int32, String[])
Declaration
[ExcludeFromDocs]
public static int MaskField(Rect position, string label, int mask, string[] displayedOptions)
Parameters
Returns
|
Improve this Doc
View Source
MaskField(Rect, String, Int32, String[], GUIStyle)
Declaration
public static int MaskField(Rect position, string label, int mask, string[] displayedOptions, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
MaskField(Rect, GUIContent, Int32, String[])
Declaration
[ExcludeFromDocs]
public static int MaskField(Rect position, GUIContent label, int mask, string[] displayedOptions)
Parameters
Returns
|
Improve this Doc
View Source
MaskField(Rect, GUIContent, Int32, String[], GUIStyle)
Declaration
public static int MaskField(Rect position, GUIContent label, int mask, string[] displayedOptions, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
MinMaxSlider(GUIContent, Rect, ref Single, ref Single, Single, Single)
Declaration
[Obsolete("Switch the order of the first two parameters.")]
public static void MinMaxSlider(GUIContent label, Rect position, ref float minValue, ref float maxValue, float minLimit, float maxLimit)
Parameters
|
Improve this Doc
View Source
MinMaxSlider(Rect, ref Single, ref Single, Single, Single)
Declaration
public static void MinMaxSlider(Rect position, ref float minValue, ref float maxValue, float minLimit, float maxLimit)
Parameters
|
Improve this Doc
View Source
MinMaxSlider(Rect, String, ref Single, ref Single, Single, Single)
Declaration
public static void MinMaxSlider(Rect position, string label, ref float minValue, ref float maxValue, float minLimit, float maxLimit)
Parameters
|
Improve this Doc
View Source
MinMaxSlider(Rect, GUIContent, ref Single, ref Single, Single, Single)
Declaration
public static void MinMaxSlider(Rect position, GUIContent label, ref float minValue, ref float maxValue, float minLimit, float maxLimit)
Parameters
|
Improve this Doc
View Source
MultiFloatField(Rect, GUIContent, GUIContent[], Single[])
Declaration
public static void MultiFloatField(Rect position, GUIContent label, GUIContent[] subLabels, float[] values)
Parameters
|
Improve this Doc
View Source
MultiFloatField(Rect, GUIContent[], Single[])
Declaration
public static void MultiFloatField(Rect position, GUIContent[] subLabels, float[] values)
Parameters
|
Improve this Doc
View Source
MultiIntField(Rect, GUIContent[], Int32[])
Declaration
public static void MultiIntField(Rect position, GUIContent[] subLabels, int[] values)
Parameters
|
Improve this Doc
View Source
MultiPropertyField(Rect, GUIContent[], SerializedProperty)
Declaration
public static void MultiPropertyField(Rect position, GUIContent[] subLabels, SerializedProperty valuesIterator)
Parameters
|
Improve this Doc
View Source
MultiPropertyField(Rect, GUIContent[], SerializedProperty, GUIContent)
Declaration
public static void MultiPropertyField(Rect position, GUIContent[] subLabels, SerializedProperty valuesIterator, GUIContent label)
Parameters
|
Improve this Doc
View Source
ObjectField(Rect, String, Object, Type)
Declaration
[Obsolete("Check the docs for the usage of the new parameter 'allowSceneObjects'.")]
public static Object ObjectField(Rect position, string label, Object obj, Type objType)
Parameters
Returns
|
Improve this Doc
View Source
ObjectField(Rect, String, Object, Type, Boolean)
Declaration
public static Object ObjectField(Rect position, string label, Object obj, Type objType, bool allowSceneObjects)
Parameters
Returns
|
Improve this Doc
View Source
ObjectField(Rect, SerializedProperty)
Declaration
public static void ObjectField(Rect position, SerializedProperty property)
Parameters
|
Improve this Doc
View Source
ObjectField(Rect, SerializedProperty, Type)
Declaration
public static void ObjectField(Rect position, SerializedProperty property, Type objType)
Parameters
|
Improve this Doc
View Source
ObjectField(Rect, SerializedProperty, Type, GUIContent)
Declaration
public static void ObjectField(Rect position, SerializedProperty property, Type objType, GUIContent label)
Parameters
|
Improve this Doc
View Source
ObjectField(Rect, SerializedProperty, GUIContent)
Declaration
public static void ObjectField(Rect position, SerializedProperty property, GUIContent label)
Parameters
|
Improve this Doc
View Source
ObjectField(Rect, GUIContent, Object, Type)
Declaration
[Obsolete("Check the docs for the usage of the new parameter 'allowSceneObjects'.")]
public static Object ObjectField(Rect position, GUIContent label, Object obj, Type objType)
Parameters
Returns
|
Improve this Doc
View Source
ObjectField(Rect, GUIContent, Object, Type, Boolean)
Declaration
public static Object ObjectField(Rect position, GUIContent label, Object obj, Type objType, bool allowSceneObjects)
Parameters
Returns
|
Improve this Doc
View Source
ObjectField(Rect, Object, Type)
Declaration
[Obsolete("Check the docs for the usage of the new parameter 'allowSceneObjects'.")]
public static Object ObjectField(Rect position, Object obj, Type objType)
Parameters
Returns
|
Improve this Doc
View Source
ObjectField(Rect, Object, Type, Boolean)
Declaration
public static Object ObjectField(Rect position, Object obj, Type objType, bool allowSceneObjects)
Parameters
Returns
|
Improve this Doc
View Source
PasswordField(Rect, String)
Declaration
[ExcludeFromDocs]
public static string PasswordField(Rect position, string password)
Parameters
Type |
Name |
Description |
Rect |
position |
|
String |
password |
|
Returns
|
Improve this Doc
View Source
PasswordField(Rect, String, String)
Declaration
[ExcludeFromDocs]
public static string PasswordField(Rect position, string label, string password)
Parameters
Returns
|
Improve this Doc
View Source
PasswordField(Rect, String, String, GUIStyle)
Declaration
public static string PasswordField(Rect position, string label, string password, [DefaultValue("EditorStyles.textField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
PasswordField(Rect, String, GUIStyle)
Declaration
public static string PasswordField(Rect position, string password, [DefaultValue("EditorStyles.textField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
PasswordField(Rect, GUIContent, String)
Declaration
[ExcludeFromDocs]
public static string PasswordField(Rect position, GUIContent label, string password)
Parameters
Returns
|
Improve this Doc
View Source
PasswordField(Rect, GUIContent, String, GUIStyle)
Declaration
public static string PasswordField(Rect position, GUIContent label, string password, [DefaultValue("EditorStyles.textField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static int Popup(Rect position, int selectedIndex, string[] displayedOptions)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Int32 |
selectedIndex |
|
String[] |
displayedOptions |
|
Returns
|
Improve this Doc
View Source
Declaration
public static int Popup(Rect position, int selectedIndex, string[] displayedOptions, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static int Popup(Rect position, int selectedIndex, GUIContent[] displayedOptions)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static int Popup(Rect position, int selectedIndex, GUIContent[] displayedOptions, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static int Popup(Rect position, string label, int selectedIndex, string[] displayedOptions)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static int Popup(Rect position, string label, int selectedIndex, string[] displayedOptions, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static int Popup(Rect position, GUIContent label, int selectedIndex, GUIContent[] displayedOptions)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static int Popup(Rect position, GUIContent label, int selectedIndex, GUIContent[] displayedOptions, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
PrefixLabel(Rect, Int32, GUIContent)
Declaration
public static Rect PrefixLabel(Rect totalPosition, int id, GUIContent label)
Parameters
Returns
|
Improve this Doc
View Source
PrefixLabel(Rect, Int32, GUIContent, GUIStyle)
Declaration
public static Rect PrefixLabel(Rect totalPosition, int id, GUIContent label, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
PrefixLabel(Rect, GUIContent)
Declaration
public static Rect PrefixLabel(Rect totalPosition, GUIContent label)
Parameters
Returns
|
Improve this Doc
View Source
PrefixLabel(Rect, GUIContent, GUIStyle)
Declaration
public static Rect PrefixLabel(Rect totalPosition, GUIContent label, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
ProgressBar(Rect, Single, String)
Declaration
public static void ProgressBar(Rect position, float value, string text)
Parameters
|
Improve this Doc
View Source
PropertyField(Rect, SerializedProperty)
Declaration
[ExcludeFromDocs]
public static bool PropertyField(Rect position, SerializedProperty property)
Parameters
Returns
|
Improve this Doc
View Source
PropertyField(Rect, SerializedProperty, Boolean)
Declaration
public static bool PropertyField(Rect position, SerializedProperty property, [DefaultValue("false")] bool includeChildren)
Parameters
Returns
|
Improve this Doc
View Source
PropertyField(Rect, SerializedProperty, GUIContent)
Declaration
[ExcludeFromDocs]
public static bool PropertyField(Rect position, SerializedProperty property, GUIContent label)
Parameters
Returns
|
Improve this Doc
View Source
PropertyField(Rect, SerializedProperty, GUIContent, Boolean)
Declaration
public static bool PropertyField(Rect position, SerializedProperty property, GUIContent label, [DefaultValue("false")] bool includeChildren)
Parameters
Returns
|
Improve this Doc
View Source
RectField(Rect, String, Rect)
Declaration
public static Rect RectField(Rect position, string label, Rect value)
Parameters
Returns
|
Improve this Doc
View Source
RectField(Rect, GUIContent, Rect)
Declaration
public static Rect RectField(Rect position, GUIContent label, Rect value)
Parameters
Returns
|
Improve this Doc
View Source
RectField(Rect, Rect)
Declaration
public static Rect RectField(Rect position, Rect value)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Rect |
value |
|
Returns
|
Improve this Doc
View Source
RectIntField(Rect, String, RectInt)
Declaration
public static RectInt RectIntField(Rect position, string label, RectInt value)
Parameters
Returns
|
Improve this Doc
View Source
RectIntField(Rect, GUIContent, RectInt)
Declaration
public static RectInt RectIntField(Rect position, GUIContent label, RectInt value)
Parameters
Returns
|
Improve this Doc
View Source
RectIntField(Rect, RectInt)
Declaration
public static RectInt RectIntField(Rect position, RectInt value)
Parameters
Returns
|
Improve this Doc
View Source
SelectableLabel(Rect, String)
Declaration
[ExcludeFromDocs]
public static void SelectableLabel(Rect position, string text)
Parameters
|
Improve this Doc
View Source
SelectableLabel(Rect, String, GUIStyle)
Declaration
public static void SelectableLabel(Rect position, string text, [DefaultValue("EditorStyles.label")] GUIStyle style)
Parameters
|
Improve this Doc
View Source
Slider(Rect, Single, Single, Single)
Declaration
public static float Slider(Rect position, float value, float leftValue, float rightValue)
Parameters
Returns
|
Improve this Doc
View Source
Slider(Rect, String, Single, Single, Single)
Declaration
public static float Slider(Rect position, string label, float value, float leftValue, float rightValue)
Parameters
Returns
|
Improve this Doc
View Source
Slider(Rect, SerializedProperty, Single, Single)
Declaration
public static void Slider(Rect position, SerializedProperty property, float leftValue, float rightValue)
Parameters
|
Improve this Doc
View Source
Slider(Rect, SerializedProperty, Single, Single, String)
Declaration
public static void Slider(Rect position, SerializedProperty property, float leftValue, float rightValue, string label)
Parameters
|
Improve this Doc
View Source
Slider(Rect, SerializedProperty, Single, Single, GUIContent)
Declaration
public static void Slider(Rect position, SerializedProperty property, float leftValue, float rightValue, GUIContent label)
Parameters
|
Improve this Doc
View Source
Slider(Rect, GUIContent, Single, Single, Single)
Declaration
public static float Slider(Rect position, GUIContent label, float value, float leftValue, float rightValue)
Parameters
Returns
|
Improve this Doc
View Source
TagField(Rect, String)
Declaration
[ExcludeFromDocs]
public static string TagField(Rect position, string tag)
Parameters
Returns
|
Improve this Doc
View Source
TagField(Rect, String, String)
Declaration
[ExcludeFromDocs]
public static string TagField(Rect position, string label, string tag)
Parameters
Returns
|
Improve this Doc
View Source
TagField(Rect, String, String, GUIStyle)
Declaration
public static string TagField(Rect position, string label, string tag, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
TagField(Rect, String, GUIStyle)
Declaration
public static string TagField(Rect position, string tag, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
TagField(Rect, GUIContent, String)
Declaration
[ExcludeFromDocs]
public static string TagField(Rect position, GUIContent label, string tag)
Parameters
Returns
|
Improve this Doc
View Source
TagField(Rect, GUIContent, String, GUIStyle)
Declaration
public static string TagField(Rect position, GUIContent label, string tag, [DefaultValue("EditorStyles.popup")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
TextArea(Rect, String)
Declaration
[ExcludeFromDocs]
public static string TextArea(Rect position, string text)
Parameters
Returns
|
Improve this Doc
View Source
TextArea(Rect, String, GUIStyle)
Declaration
public static string TextArea(Rect position, string text, [DefaultValue("EditorStyles.textField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
TextField(Rect, String)
Declaration
[ExcludeFromDocs]
public static string TextField(Rect position, string text)
Parameters
Returns
|
Improve this Doc
View Source
TextField(Rect, String, String)
Declaration
[ExcludeFromDocs]
public static string TextField(Rect position, string label, string text)
Parameters
Returns
|
Improve this Doc
View Source
TextField(Rect, String, String, GUIStyle)
Declaration
public static string TextField(Rect position, string label, string text, [DefaultValue("EditorStyles.textField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
TextField(Rect, String, GUIStyle)
Declaration
public static string TextField(Rect position, string text, [DefaultValue("EditorStyles.textField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
TextField(Rect, GUIContent, String)
Declaration
[ExcludeFromDocs]
public static string TextField(Rect position, GUIContent label, string text)
Parameters
Returns
|
Improve this Doc
View Source
TextField(Rect, GUIContent, String, GUIStyle)
Declaration
public static string TextField(Rect position, GUIContent label, string text, [DefaultValue("EditorStyles.textField")] GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Toggle(Rect, Boolean)
Declaration
public static bool Toggle(Rect position, bool value)
Parameters
Returns
|
Improve this Doc
View Source
Toggle(Rect, Boolean, GUIStyle)
Declaration
public static bool Toggle(Rect position, bool value, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Toggle(Rect, String, Boolean)
Declaration
public static bool Toggle(Rect position, string label, bool value)
Parameters
Returns
|
Improve this Doc
View Source
Toggle(Rect, String, Boolean, GUIStyle)
Declaration
public static bool Toggle(Rect position, string label, bool value, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
Toggle(Rect, GUIContent, Boolean)
Declaration
public static bool Toggle(Rect position, GUIContent label, bool value)
Parameters
Returns
|
Improve this Doc
View Source
Toggle(Rect, GUIContent, Boolean, GUIStyle)
Declaration
public static bool Toggle(Rect position, GUIContent label, bool value, GUIStyle style)
Parameters
Returns
|
Improve this Doc
View Source
ToggleLeft(Rect, String, Boolean)
Declaration
[ExcludeFromDocs]
public static bool ToggleLeft(Rect position, string label, bool value)
Parameters
Returns
|
Improve this Doc
View Source
ToggleLeft(Rect, String, Boolean, GUIStyle)
Declaration
public static bool ToggleLeft(Rect position, string label, bool value, [DefaultValue("EditorStyles.label")] GUIStyle labelStyle)
Parameters
Returns
|
Improve this Doc
View Source
ToggleLeft(Rect, GUIContent, Boolean)
Declaration
[ExcludeFromDocs]
public static bool ToggleLeft(Rect position, GUIContent label, bool value)
Parameters
Returns
|
Improve this Doc
View Source
ToggleLeft(Rect, GUIContent, Boolean, GUIStyle)
Declaration
public static bool ToggleLeft(Rect position, GUIContent label, bool value, [DefaultValue("EditorStyles.label")] GUIStyle labelStyle)
Parameters
Returns
|
Improve this Doc
View Source
Vector2Field(Rect, String, Vector2)
Declaration
public static Vector2 Vector2Field(Rect position, string label, Vector2 value)
Parameters
Returns
|
Improve this Doc
View Source
Vector2Field(Rect, GUIContent, Vector2)
Declaration
public static Vector2 Vector2Field(Rect position, GUIContent label, Vector2 value)
Parameters
Returns
|
Improve this Doc
View Source
Vector2IntField(Rect, String, Vector2Int)
Declaration
public static Vector2Int Vector2IntField(Rect position, string label, Vector2Int value)
Parameters
Returns
|
Improve this Doc
View Source
Vector2IntField(Rect, GUIContent, Vector2Int)
Declaration
public static Vector2Int Vector2IntField(Rect position, GUIContent label, Vector2Int value)
Parameters
Returns
|
Improve this Doc
View Source
Vector3Field(Rect, String, Vector3)
Declaration
public static Vector3 Vector3Field(Rect position, string label, Vector3 value)
Parameters
Returns
|
Improve this Doc
View Source
Vector3Field(Rect, GUIContent, Vector3)
Declaration
public static Vector3 Vector3Field(Rect position, GUIContent label, Vector3 value)
Parameters
Returns
|
Improve this Doc
View Source
Vector3IntField(Rect, String, Vector3Int)
Declaration
public static Vector3Int Vector3IntField(Rect position, string label, Vector3Int value)
Parameters
Returns
|
Improve this Doc
View Source
Vector3IntField(Rect, GUIContent, Vector3Int)
Declaration
public static Vector3Int Vector3IntField(Rect position, GUIContent label, Vector3Int value)
Parameters
Returns
|
Improve this Doc
View Source
Vector4Field(Rect, String, Vector4)
Declaration
public static Vector4 Vector4Field(Rect position, string label, Vector4 value)
Parameters
Returns
|
Improve this Doc
View Source
Vector4Field(Rect, GUIContent, Vector4)
Declaration
public static Vector4 Vector4Field(Rect position, GUIContent label, Vector4 value)
Parameters
Returns
Extension Methods