SirenixEditorFields

Field drawing functions for various types.

namespace Sirenix.Utilities.Editor
{
public static class SirenixEditorFields
}

Requirements

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

Static Fields

Return Type Definition Description
int SingleLetterStructLabelWidth The width of the X, Y and Z labels in structs.

Static Properties

Return Type Definition Description
bool ResponsiveVectorComponentFields When true the component labels, for vector fields, will be hidden when the field is too narrow.

Static Methods

Return Type Definition Description
Quaternion AngleAxisField(GUIContent, Quaternion, GUILayoutOption[]) Draws an angle axis field for a quaternion.
Quaternion AngleAxisField(Quaternion, GUILayoutOption[]) Draws an angle axis field for a quaternion.
Quaternion AngleAxisField(Rect, GUIContent, Quaternion) Draws an angle axis field for a quaternion.
Quaternion AngleAxisField(Rect, Quaternion) Draws an angle axis field for a quaternion.
Quaternion AngleAxisField(Rect, string, Quaternion) Draws an angle axis field for a quaternion.
Quaternion AngleAxisField(string, Quaternion, GUILayoutOption[]) Draws an angle axis field for a quaternion.
Color ColorField(Color, GUILayoutOption[]) Draws a Color field.
Color ColorField(GUIContent, Color, GUILayoutOption[]) Draws a Color field.
Color ColorField(Rect, Color) Draws a Color field.
Color ColorField(Rect, GUIContent, Color) Draws a Color field.
Color ColorField(Rect, string, Color) Draws a Color field.
Color ColorField(string, Color, GUILayoutOption[]) Draws a Color field.
decimal DecimalField(decimal, GUILayoutOption[]) Draws a decimal field.
decimal DecimalField(GUIContent, decimal, GUILayoutOption[]) Draws a decimal field.
decimal DecimalField(GUIContent, decimal, GUIStyle, GUILayoutOption[]) Draws a decimal field.
decimal DecimalField(Rect, decimal) Draws a decimal field.
decimal DecimalField(Rect, GUIContent, decimal) Draws a decimal field.
decimal DecimalField(Rect, GUIContent, decimal, GUIStyle) Draws a decimal field.
decimal DecimalField(Rect, string, decimal) Draws a decimal field.
decimal DecimalField(string, decimal, GUILayoutOption[]) Draws a decimal field.
double DelayedDoubleField(double, GUILayoutOption[]) Draws a delayed double field.
double DelayedDoubleField(GUIContent, double, GUILayoutOption[]) Draws a delayed double field.
double DelayedDoubleField(GUIContent, double, GUIStyle, GUILayoutOption[]) Draws a delayed double field.
double DelayedDoubleField(Rect, double) Draws a delayed double field.
double DelayedDoubleField(Rect, GUIContent, double) Draws a delayed double field.
double DelayedDoubleField(Rect, GUIContent, double, GUIStyle) Draws a delayed double field.
double DelayedDoubleField(Rect, string, double) Draws a delayed double field.
double DelayedDoubleField(string, double, GUILayoutOption[]) Draws a delayed double field.
float DelayedFloatField(float, GUILayoutOption[]) Draws a delayed float field.
float DelayedFloatField(GUIContent, float, GUILayoutOption[]) Draws a delayed float field.
float DelayedFloatField(GUIContent, float, GUIStyle, GUILayoutOption[]) Draws a delayed float field.
float DelayedFloatField(Rect, float) Draws a delayed float field.
float DelayedFloatField(Rect, GUIContent, float) Draws a delayed float field.
float DelayedFloatField(Rect, GUIContent, float, GUIStyle) Draws a delayed float field.
float DelayedFloatField(Rect, string, float) Draws a delayed float field.
float DelayedFloatField(string, float, GUILayoutOption[]) Draws a delayed float field.
int DelayedIntField(GUIContent, int, GUILayoutOption[]) Draws a delayed int field.
int DelayedIntField(GUIContent, int, GUIStyle, GUILayoutOption[]) Draws a delayed int field.
int DelayedIntField(int, GUILayoutOption[]) Draws a delayed int field.
int DelayedIntField(Rect, GUIContent, int) Draws a delayed int field.
int DelayedIntField(Rect, GUIContent, int, GUIStyle) Draws a delayed int field.
int DelayedIntField(Rect, int) Draws a delayed int field.
int DelayedIntField(Rect, string, int) Draws a delayed int field.
int DelayedIntField(string, int, GUILayoutOption[]) Draws a delayed int field.
long DelayedLongField(GUIContent, long, GUILayoutOption[]) Draws a delayed long field.
long DelayedLongField(GUIContent, long, GUIStyle, GUILayoutOption[]) Draws a delayed long field.
long DelayedLongField(long, GUILayoutOption[]) Draws a delayed long field.
long DelayedLongField(Rect, GUIContent, long) Draws a delayed long field.
long DelayedLongField(Rect, GUIContent, long, GUIStyle) Draws a delayed long field.
long DelayedLongField(Rect, long) Draws a delayed long field.
long DelayedLongField(Rect, string, long) Draws a delayed long field.
long DelayedLongField(string, long, GUILayoutOption[]) Draws a delayed long field.
string DelayedTextField(GUIContent, string, GUILayoutOption[]) Draws a delayed text field.
string DelayedTextField(GUIContent, string, GUIStyle, GUILayoutOption[]) Draws a delayed text field.
string DelayedTextField(Rect, GUIContent, string) Draws a delayed text field.
string DelayedTextField(Rect, GUIContent, string, GUIStyle) Draws a delayed text field.
string DelayedTextField(Rect, string) Draws a delayed text field.
string DelayedTextField(Rect, string, string) Draws a delayed text field.
string DelayedTextField(string, GUILayoutOption[]) Draws a delayed text field.
string DelayedTextField(string, string, GUILayoutOption[]) Draws a delayed text field.
double DoubleField(double, GUILayoutOption[]) Draws a double field.
double DoubleField(GUIContent, double, GUILayoutOption[]) Draws a double field.
double DoubleField(GUIContent, double, GUIStyle, GUILayoutOption[]) Draws a double field.
double DoubleField(Rect, double) Draws a double field.
double DoubleField(Rect, GUIContent, double) Draws a double field.
double DoubleField(Rect, GUIContent, double, GUIStyle) Draws a double field.
double DoubleField(Rect, string, double) Draws a double field.
double DoubleField(string, double, GUILayoutOption[]) Draws a double field.
int Dropdown(GUIContent, int, string[], GUILayoutOption[]) Draws a dropdown.
int Dropdown(GUIContent, int, string[], GUIStyle, GUILayoutOption[]) Draws a dropdown.
int Dropdown(int, string[], GUILayoutOption[]) Draws a dropdown.
int Dropdown(Rect, GUIContent, int, string[]) Draws a dropdown.
int Dropdown(Rect, GUIContent, int, string[], GUIStyle) Draws a dropdown.
int Dropdown(Rect, int, string[]) Draws a dropdown.
int Dropdown(Rect, string, int, string[]) Draws a dropdown.
int Dropdown(string, int, string[], GUILayoutOption[]) Draws a dropdown.
bool Dropdown<T>(GUIContent, IList<int>, IList<T>, bool, GUILayoutOption[]) Draws a dropdown.
T Dropdown<T>(GUIContent, T, IList<T>) Draws a generic dropdown.
T Dropdown<T>(GUIContent, T, T[], string[], GUILayoutOption[]) Draws a generic dropdown.
T Dropdown<T>(GUIContent, T, T[], string[], GUIStyle, GUILayoutOption[]) Draws a generic dropdown.
bool Dropdown<T>(IList<int>, IList<T>, bool, GUILayoutOption[]) Draws a dropdown.
bool Dropdown<T>(Rect, GUIContent, IList<int>, IList<T>, bool) Draws a dropdown.
T Dropdown<T>(Rect, GUIContent, T, IList<T>) Draws a generic dropdown.
T Dropdown<T>(Rect, GUIContent, T, T[], string[]) Draws a generic dropdown.
T Dropdown<T>(Rect, GUIContent, T, T[], string[], GUIStyle) Draws a generic dropdown.
bool Dropdown<T>(Rect, IList<int>, IList<T>, bool) Draws a dropdown.
bool Dropdown<T>(Rect, string, IList<int>, IList<T>, bool) Draws a dropdown.
T Dropdown<T>(Rect, string, T, T[], string[]) Draws a generic dropdown.
T Dropdown<T>(Rect, T, T[], string[]) Draws a generic dropdown.
bool Dropdown<T>(string, IList<int>, IList<T>, bool, GUILayoutOption[]) Draws a dropdown.
T Dropdown<T>(string, T, T[], string[], GUILayoutOption[]) Draws a generic dropdown.
T Dropdown<T>(T, T[], string[], GUILayoutOption[]) Draws a generic dropdown.
Enum EnumDropdown(Enum, GUILayoutOption[]) Draws a dropdown for an enum or an enum mask.
Enum EnumDropdown(GUIContent, Enum, GUILayoutOption[]) Draws a dropdown for an enum or an enum mask.
Enum EnumDropdown(GUIContent, Enum, GUIStyle, GUILayoutOption[]) Draws a dropdown for an enum or an enum mask.
Enum EnumDropdown(Rect, Enum) Draws a dropdown for an enum or an enum mask.
Enum EnumDropdown(Rect, GUIContent, Enum) Draws a dropdown for an enum or an enum mask.
Enum EnumDropdown(Rect, GUIContent, Enum, GUIStyle) Draws a dropdown for an enum or an enum mask.
Enum EnumDropdown(Rect, string, Enum) Draws a dropdown for an enum or an enum mask.
Enum EnumDropdown(string, Enum, GUILayoutOption[]) Draws a dropdown for an enum or an enum mask.
Enum EnumMaskDropdown(Enum, GUILayoutOption[]) Draws a dropdown field for enum masks.
Enum EnumMaskDropdown(GUIContent, Enum, GUILayoutOption[]) Draws a dropdown field for enum masks.
Enum EnumMaskDropdown(GUIContent, Enum, GUIStyle, GUILayoutOption[]) Draws a dropdown field for enum masks.
Enum EnumMaskDropdown(Rect, Enum) Draws a dropdown field for enum masks.
Enum EnumMaskDropdown(Rect, GUIContent, Enum) Draws a dropdown field for enum masks.
Enum EnumMaskDropdown(Rect, GUIContent, Enum, GUIStyle) Draws a dropdown field for enum masks.
Enum EnumMaskDropdown(Rect, string, Enum) Draws a dropdown field for enum masks.
Enum EnumMaskDropdown(string, Enum, GUILayoutOption[]) Draws a dropdown field for enum masks.
Quaternion EulerField(GUIContent, Quaternion, GUILayoutOption[]) Draws an euler field for a quaternion.
Quaternion EulerField(Quaternion, GUILayoutOption[]) Draws an euler field for a quaternion.
Quaternion EulerField(Rect, GUIContent, Quaternion) Draws an euler field for a quaternion.
Quaternion EulerField(Rect, Quaternion) Draws an euler field for a quaternion.
Quaternion EulerField(Rect, string, Quaternion) Draws an euler field for a quaternion.
Quaternion EulerField(string, Quaternion, GUILayoutOption[]) Draws an euler field for a quaternion.
string FilePathField(GUIContent, string, string, string, bool, bool, GUILayoutOption[]) Draws a field that lets the user select a path to a file.
string FilePathField(Rect, GUIContent, string, string, string, bool, bool) Draws a field that lets the user select a path to a file.
string FilePathField(Rect, string, string, string, bool, bool) Draws a field that lets the user select a path to a file.
string FilePathField(string, string, string, bool, bool, GUILayoutOption[]) Draws a field that lets the user select a path to a file.
float FloatField(float, GUILayoutOption[]) Draws a float field.
float FloatField(GUIContent, float, GUILayoutOption[]) Draws a float field.
float FloatField(GUIContent, float, GUIStyle, GUILayoutOption[]) Draws a float field.
float FloatField(Rect, float) Draws a float field.
float FloatField(Rect, GUIContent, float) Draws a float field.
float FloatField(Rect, GUIContent, float, GUIStyle) Draws a float field.
float FloatField(Rect, string, float) Draws a float field.
float FloatField(string, float, GUILayoutOption[]) Draws a float field.
string FolderPathField(GUIContent, string, string, bool, bool, GUILayoutOption[]) Draws a field that lets the user select a path to a folder.
string FolderPathField(Rect, GUIContent, string, string, bool, bool) Draws a field that lets the user select a path to a folder.
string FolderPathField(Rect, string, string, bool, bool) Draws a field that lets the user select a path to a folder.
string FolderPathField(string, string, bool, bool, GUILayoutOption[]) Draws a field that lets the user select a path to a folder.
Guid GuidField(GUIContent, Guid) Draws a Guid field.
Guid GuidField(GUIContent, Guid, GUILayoutOption[]) Draws a Guid field.
Guid GuidField(GUIContent, Guid, GUIStyle, GUILayoutOption[]) Draws a Guid field.
Guid GuidField(Rect, GUIContent, Guid) Draws a Guid field.
Guid GuidField(Rect, GUIContent, Guid, GUIStyle) Draws a Guid field.
Guid GuidField(Rect, Guid) Draws a Guid field.
int IntField(GUIContent, int, GUILayoutOption[]) Draws an int field.
int IntField(GUIContent, int, GUIStyle, GUILayoutOption[]) Draws an int field.
int IntField(int, GUILayoutOption[]) Draws an int field.
int IntField(Rect, GUIContent, int) Draws an int field.
int IntField(Rect, GUIContent, int, GUIStyle) Draws an int field.
int IntField(Rect, int) Draws an int field.
int IntField(Rect, string, int) Draws an int field.
int IntField(string, int, GUILayoutOption[]) Draws an int field.
LayerMask LayerMaskField(GUIContent, LayerMask, GUILayoutOption[]) Draws a field for a layer mask.
LayerMask LayerMaskField(LayerMask, GUILayoutOption[]) Draws a field for a layer mask.
LayerMask LayerMaskField(Rect, GUIContent, LayerMask) Draws a field for a layer mask.
LayerMask LayerMaskField(Rect, LayerMask) Draws a field for a layer mask.
LayerMask LayerMaskField(Rect, string, LayerMask) Draws a field for a layer mask.
LayerMask LayerMaskField(string, LayerMask, GUILayoutOption[]) Draws a field for a layer mask.
long LongField(GUIContent, long, GUILayoutOption[]) Draws an long field.
long LongField(GUIContent, long, GUIStyle, GUILayoutOption[]) Draws an long field.
long LongField(long, GUILayoutOption[]) Draws an long field.
long LongField(Rect, GUIContent, long) Draws an long field.
long LongField(Rect, GUIContent, long, GUIStyle) Draws an long field.
long LongField(Rect, long) Draws an long field.
long LongField(Rect, string, long) Draws an long field.
long LongField(string, long, GUILayoutOption[]) Draws an long field.
void MinMaxSlider(GUIContent, ref float, ref float, float, float, bool, GUILayoutOption[]) Draws a slider for setting two values between a min and a max limit.
Vector2 MinMaxSlider(GUIContent, Vector2, Vector2, bool, GUILayoutOption[]) Draws a slider for setting two values between a min and a max limit.
void MinMaxSlider(Rect, GUIContent, ref float, ref float, float, float, bool) Draws a slider for setting two values between a min and a max limit.
Vector2 MinMaxSlider(Rect, GUIContent, Vector2, Vector2, bool) Draws a slider for setting two values between a min and a max limit.
void MinMaxSlider(Rect, ref float, ref float, float, float, bool) Draws a slider for setting two values between a min and a max limit.
void MinMaxSlider(Rect, string, ref float, ref float, float, float, bool) Draws a slider for setting two values between a min and a max limit.
Vector2 MinMaxSlider(Rect, string, Vector2, Vector2, bool) Draws a slider for setting two values between a min and a max limit.
Vector2 MinMaxSlider(Rect, Vector2, Vector2, bool) Draws a slider for setting two values between a min and a max limit.
void MinMaxSlider(ref float, ref float, float, float, bool, GUILayoutOption[]) Draws a slider for setting two values between a min and a max limit.
void MinMaxSlider(string, ref float, ref float, float, float, bool, GUILayoutOption[]) Draws a slider for setting two values between a min and a max limit.
Vector2 MinMaxSlider(string, Vector2, Vector2, bool, GUILayoutOption[]) Draws a slider for setting two values between a min and a max limit.
Vector2 MinMaxSlider(Vector2, Vector2, bool, GUILayoutOption[]) Draws a slider for setting two values between a min and a max limit.
Object PolymorphicObjectField(GUIContent, Object, Type, bool, GUILayoutOption[]) Draws a polymorphic ObjectField.
Object PolymorphicObjectField(Object, Type, bool, GUILayoutOption[]) Draws a polymorphic ObjectField.
Object PolymorphicObjectField(Rect, Object, Type, bool, bool, int) Draws a polymorphic ObjectField.
Object PolymorphicObjectField(string, Object, Type, bool, GUILayoutOption[]) Draws a polymorphic ObjectField.
TElement PreviewObjectField<TElement>(Rect, TElement, bool, bool, bool, bool) Draws a square ObjectField which renders a preview for UnityEngine.Object types. This object field also adds support for drag and drop, dragging an object to another square object field, swaps the values. If you hold down control while letting go it will replace the value, And you can control + click the object field to quickly delete the value it holds.
double ProgressBarField(double, double, double, GUILayoutOption[]) Draws a colored progress bar field.
double ProgressBarField(double, double, double, ProgressBarConfig, GUILayoutOption[]) Draws a colored progress bar field.
double ProgressBarField(GUIContent, double, double, double, GUILayoutOption[]) Draws a colored progress bar field.
double ProgressBarField(GUIContent, double, double, double, ProgressBarConfig, GUILayoutOption[]) Draws a colored progress bar field.
double ProgressBarField(Rect, double, double, double) Draws a colored progress bar field.
double ProgressBarField(Rect, double, double, double, ProgressBarConfig) Draws a colored progress bar field.
double ProgressBarField(Rect, GUIContent, double, double, double) Draws a colored progress bar field.
double ProgressBarField(Rect, GUIContent, double, double, double, ProgressBarConfig) Draws a colored progress bar field.
double ProgressBarField(Rect, GUIContent, double, double, double, ProgressBarConfig, string) Draws a colored progress bar field.
double ProgressBarField(Rect, string, double, double, double) Draws a colored progress bar field.
double ProgressBarField(Rect, string, double, double, double, ProgressBarConfig) Draws a colored progress bar field.
double ProgressBarField(string, double, double, double, GUILayoutOption[]) Draws a colored progress bar field.
double ProgressBarField(string, double, double, double, ProgressBarConfig, GUILayoutOption[]) Draws a colored progress bar field.
void ProgressBarOverlayLabel(Rect, GUIContent, float, ProgressBarConfig) Draws an overlay on top of a progress bar field.
void ProgressBarOverlayLabel(Rect, string, float, ProgressBarConfig) Draws an overlay on top of a progress bar field.
Quaternion QuaternionField(GUIContent, Quaternion, GUILayoutOption[]) Draws a quaternion field.
Quaternion QuaternionField(Quaternion, GUILayoutOption[]) Draws a quaternion field.
Quaternion QuaternionField(Rect, GUIContent, Quaternion) Draws a quaternion field.
Quaternion QuaternionField(Rect, Quaternion) Draws a quaternion field.
Quaternion QuaternionField(Rect, string, Quaternion) Draws a quaternion field.
Quaternion QuaternionField(string, Quaternion, GUILayoutOption[]) Draws a quaternion field.
float RangeFloatField(float, float, float, GUILayoutOption[]) Draws a range field for floats.
float RangeFloatField(GUIContent, float, float, float, GUILayoutOption[]) Draws a range field for floats.
float RangeFloatField(GUIContent, float, float, float, GUIStyle, GUILayoutOption[]) Draws a range field for floats.
float RangeFloatField(Rect, float, float, float) Draws a range field for floats.
float RangeFloatField(Rect, GUIContent, float, float, float) Draws a range field for floats.
float RangeFloatField(Rect, GUIContent, float, float, float, GUIStyle) Draws a range field for floats.
float RangeFloatField(Rect, string, float, float, float) Draws a range field for floats.
float RangeFloatField(string, float, float, float, GUILayoutOption[]) Draws a range field for floats.
int RangeIntField(GUIContent, int, int, int, GUILayoutOption[]) Draws a range field for ints.
int RangeIntField(GUIContent, int, int, int, GUIStyle, GUILayoutOption[]) Drwas a range field for ints.
int RangeIntField(int, int, int, GUILayoutOption[]) Draws a range field for ints.
int RangeIntField(Rect, GUIContent, int, int, int) Draws a range field for ints.
int RangeIntField(Rect, GUIContent, int, int, int, GUIStyle) Draws a range field for ints.
int RangeIntField(Rect, int, int, int) Draws a range field for ints.
int RangeIntField(Rect, string, int, int, int) Draws a range field for ints.
int RangeIntField(string, int, int, int, GUILayoutOption[]) Draws a range field for ints.
Quaternion RotationField(GUIContent, Quaternion, QuaternionDrawMode, GUILayoutOption[]) Draws a rotation field for a quaternion.
Quaternion RotationField(Quaternion, QuaternionDrawMode, GUILayoutOption[]) Draws a rotation field for a quaternion.
Quaternion RotationField(Rect, GUIContent, Quaternion, QuaternionDrawMode) Draws a rotation field for a quaternion.
Quaternion RotationField(Rect, Quaternion, QuaternionDrawMode) Draws a rotation field for a quaternion.
Quaternion RotationField(Rect, string, Quaternion, QuaternionDrawMode) Draws a rotation field for a quaternion.
Quaternion RotationField(string, Quaternion, QuaternionDrawMode, GUILayoutOption[]) Draws a rotation field for a quaternion.
long SegmentedProgressBarField(GUIContent, long, long, long, GUILayoutOption[]) Draws a colored segmented progress bar field.
long SegmentedProgressBarField(GUIContent, long, long, long, ProgressBarConfig, GUILayoutOption[]) Draws a colored segmented progress bar field.
long SegmentedProgressBarField(long, long, long, GUILayoutOption[]) Draws a colored segmented progress bar field.
long SegmentedProgressBarField(long, long, long, ProgressBarConfig, GUILayoutOption[]) Draws a colored segmented progress bar field.
long SegmentedProgressBarField(Rect, GUIContent, long, long, long) Draws a colored segmented progress bar field.
long SegmentedProgressBarField(Rect, GUIContent, long, long, long, ProgressBarConfig) Draws a colored segmented progress bar field.
long SegmentedProgressBarField(Rect, GUIContent, long, long, long, ProgressBarConfig, string) Draws a colored segmented progress bar field.
long SegmentedProgressBarField(Rect, long, long, long) Draws a colored segmented progress bar field.
long SegmentedProgressBarField(Rect, long, long, long, ProgressBarConfig) Draws a colored segmented progress bar field.
long SegmentedProgressBarField(Rect, string, long, long, long) Draws a colored segmented progress bar field.
long SegmentedProgressBarField(Rect, string, long, long, long, ProgressBarConfig) Draws a colored segmented progress bar field.
long SegmentedProgressBarField(string, long, long, long, GUILayoutOption[]) Draws a colored segmented progress bar field.
long SegmentedProgressBarField(string, long, long, long, ProgressBarConfig, GUILayoutOption[]) Draws a colored segmented progress bar field.
string TextField(GUIContent, string, GUILayoutOption[]) Draws a text field for strings.
string TextField(GUIContent, string, GUIStyle, GUILayoutOption[]) Draws a text field for strings.
string TextField(Rect, GUIContent, string) Draws a text field for strings.
string TextField(Rect, GUIContent, string, GUIStyle) Draws a text field for strings.
string TextField(Rect, string) Draws a text field for strings.
string TextField(Rect, string, string) Draws a text field for strings.
string TextField(string, GUILayoutOption[]) Draws a text field for strings.
string TextField(string, string, GUILayoutOption[]) Draws a text field for strings.
Object UnityObjectField(GUIContent, Object, Type, bool, GUILayoutOption[]) Draws a regular Unity ObjectField, but supports labels being nulls, and also adds a small button that will open the object in a new inspector window.
Object UnityObjectField(Object, Type, bool, GUILayoutOption[]) Draws a regular Unity ObjectField, but supports labels being nulls, and also adds a small button that will open the object in a new inspector window.
Object UnityObjectField(Rect, GUIContent, Object, Type, bool) Draws a regular Unity ObjectField, but supports labels being nulls, and also adds a small button that will open the object in a new inspector window.
Object UnityObjectField(Rect, Object, Type, bool) Draws a regular Unity ObjectField, but supports labels being nulls, and also adds a small button that will open the object in a new inspector window.
Object UnityObjectField(Rect, string, Object, Type, bool) Draws a regular Unity ObjectField, but supports labels being nulls, and also adds a small button that will open the object in a new inspector window.
Object UnityObjectField(string, Object, Type, bool, GUILayoutOption[]) Draws a regular Unity ObjectField, but supports labels being nulls, and also adds a small button that will open the object in a new inspector window.
Object UnityPreviewObjectField(GUIContent, Object, Type, bool, float, ObjectFieldAlignment) Draws a square ObjectField which renders a preview for UnityEngine.Object types. This object field also adds support for drag and drop, dragging an object to another square object field, swaps the values. If you hold down control while letting go it will replace the value, And you can control + click the object field to quickly delete the value it holds.
Object UnityPreviewObjectField(Object, Type, bool, float, ObjectFieldAlignment) Draws a square ObjectField which renders a preview for UnityEngine.Object types. This object field also adds support for drag and drop, dragging an object to another square object field, swaps the values. If you hold down control while letting go it will replace the value, And you can control + click the object field to quickly delete the value it holds.
Object UnityPreviewObjectField(Rect, GUIContent, Object, Type, bool, ObjectFieldAlignment) Draws a square ObjectField which renders a preview for UnityEngine.Object types. This object field also adds support for drag and drop, dragging an object to another square object field, swaps the values. If you hold down control while letting go it will replace the value, And you can control + click the object field to quickly delete the value it holds.
Object UnityPreviewObjectField(Rect, GUIContent, Object, Type, ObjectFieldAlignment, bool, bool, bool, bool) Draws a square ObjectField which renders a preview for UnityEngine.Object types. This object field also adds support for drag and drop, dragging an object to another square object field, swaps the values. If you hold down control while letting go it will replace the value, And you can control + click the object field to quickly delete the value it holds.
Object UnityPreviewObjectField(Rect, Object, Texture, Type, bool, bool, bool, bool) Draws a square ObjectField which renders a preview for UnityEngine.Object types. This object field also adds support for drag and drop, dragging an object to another square object field, swaps the values. If you hold down control while letting go it will replace the value, And you can control + click the object field to quickly delete the value it holds.
Object UnityPreviewObjectField(Rect, Object, Type, bool, bool, bool, bool) Draws a square ObjectField which renders a preview for UnityEngine.Object types. This object field also adds support for drag and drop, dragging an object to another square object field, swaps the values. If you hold down control while letting go it will replace the value, And you can control + click the object field to quickly delete the value it holds.
Object UnityPreviewObjectField(Rect, Object, Type, bool, ObjectFieldAlignment) Draws a square ObjectField which renders a preview for UnityEngine.Object types. This object field also adds support for drag and drop, dragging an object to another square object field, swaps the values. If you hold down control while letting go it will replace the value, And you can control + click the object field to quickly delete the value it holds.
Object UnityPreviewObjectField(Rect, string, Object, Type, bool, ObjectFieldAlignment) Draws a square ObjectField which renders a preview for UnityEngine.Object types. This object field also adds support for drag and drop, dragging an object to another square object field, swaps the values. If you hold down control while letting go it will replace the value, And you can control + click the object field to quickly delete the value it holds.
Object UnityPreviewObjectField(string, Object, Type, bool, float, ObjectFieldAlignment) Draws a square ObjectField which renders a preview for UnityEngine.Object types. This object field also adds support for drag and drop, dragging an object to another square object field, swaps the values. If you hold down control while letting go it will replace the value, And you can control + click the object field to quickly delete the value it holds.
Vector2 Vector2Field(GUIContent, Vector2, GUILayoutOption[]) Draws a Vector2 field.
Vector2 Vector2Field(Rect, GUIContent, Vector2) Draws a Vector2 field.
Vector2 Vector2Field(Rect, string, Vector2) Draws a Vector2 field.
Vector2 Vector2Field(Rect, Vector2) Draws a Vector2 field.
Vector2 Vector2Field(string, Vector2, GUILayoutOption[]) Draws a Vector2 field.
Vector2 Vector2Field(Vector2, GUILayoutOption[]) Draws a Vector2 field.
Vector3 Vector3Field(GUIContent, Vector3, GUILayoutOption[]) Draws a Vector3 field.
Vector3 Vector3Field(Rect, GUIContent, Vector3) Draws a Vector3 field.
Vector3 Vector3Field(Rect, string, Vector3) Draws a Vector3 field.
Vector3 Vector3Field(Rect, Vector3) Draws a Vector3 field.
Vector3 Vector3Field(string, Vector3, GUILayoutOption[]) Draws a Vector3 field.
Vector3 Vector3Field(Vector3, GUILayoutOption[]) Draws a Vector3 field.
Vector4 Vector4Field(GUIContent, Vector4, GUILayoutOption[]) Draws a Vector4 field.
Vector4 Vector4Field(Rect, GUIContent, Vector4) Draws a Vector4 field.
Vector4 Vector4Field(Rect, string, Vector4) Draws a Vector4 field.
Vector4 Vector4Field(Rect, Vector4) Draws a Vector4 field.
Vector4 Vector4Field(string, Vector4, GUILayoutOption[]) Draws a Vector4 field.
Vector4 Vector4Field(Vector4, GUILayoutOption[]) Draws a Vector4 field.
Vector4 VectorPrefixLabel(GUIContent, Vector4) Draws a prefix label for a vector field, that implements label dragging.
Vector4 VectorPrefixLabel(ref Rect, GUIContent, Vector4) Draws a prefix label for a vector field, that implements label dragging.
Vector4 VectorPrefixLabel(ref Rect, string, Vector4) Draws a prefix label for a vector field, that implements label dragging.
Vector4 VectorPrefixLabel(string, Vector4) Draws a prefix label for a vector field, that implements label dragging.
Vector4 VectorPrefixSlideRect(Rect, Vector4) Draws a prefix label for a vector field, that implements label dragging.