Namespace: | Sirenix.Utilities.Editor |
Assembly: | Sirenix.Utilities.Editor |
public static class SirenixEditorFields
public static readonly int SingleLetterStructLabelWidth
public static string UnitFieldFormatStringDecimal
public static string UnitFieldFormatStringDouble
public static string UnitFieldFormatStringFloat
public static string UnitFieldFormatStringInteger
true
the component labels, for vector fields, will be hidden when the field is too narrow.
public static bool ResponsiveVectorComponentFields { get; set; }
public static Quaternion AngleAxisField(string label, Quaternion value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
UnityEngine.Quaternion | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion AngleAxisField(GUIContent label, Quaternion value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Quaternion | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion AngleAxisField(Quaternion value, params GUILayoutOption[] options)
UnityEngine.Quaternion | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion AngleAxisField(Rect rect, string label, Quaternion value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
UnityEngine.Quaternion | value | Current value. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion AngleAxisField(Rect rect, GUIContent label, Quaternion value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Quaternion | value | Current value. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion AngleAxisField(Rect rect, Quaternion value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.Quaternion | value | Current value. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Color ColorField(string label, Color value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
UnityEngine.Color | value | |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Color | Value assigned to the field. |
public static Color ColorField(Color value, params GUILayoutOption[] options)
UnityEngine.Color | value | |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Color | Value assigned to the field. |
public static Color ColorField(GUIContent label, Color value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Color | value | |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Color | Value assigned to the field. |
public static Color ColorField(Rect rect, string label, Color value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
UnityEngine.Color | value |
UnityEngine.Color | Value assigned to the field. |
public static Color ColorField(Rect rect, Color value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.Color | value |
UnityEngine.Color | Value assigned to the field. |
public static Color ColorField(Rect rect, GUIContent label, Color value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Color | value |
UnityEngine.Color | Value assigned to the field. |
public static decimal DecimalField(decimal value, params GUILayoutOption[] options)
System.Decimal | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Decimal | Value assigned to the field. |
public static decimal DecimalField(string label, decimal value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Decimal | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Decimal | Value assigned to the field. |
public static decimal DecimalField(GUIContent label, decimal value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Decimal | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Decimal | Value assigned to the field. |
public static decimal DecimalField(GUIContent label, decimal value, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Decimal | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Decimal | Value assigned to the field. |
public static decimal DecimalField(Rect rect, decimal value)
UnityEngine.Rect | rect | Position and size of the field. |
System.Decimal | value | Current value. |
System.Decimal | Value assigned to the field. |
public static decimal DecimalField(Rect rect, string label, decimal value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Decimal | value | Current value. |
System.Decimal | Value assigned to the field. |
public static decimal DecimalField(Rect rect, GUIContent label, decimal value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Decimal | value | Current value. |
System.Decimal | Value assigned to the field. |
public static decimal DecimalField(Rect rect, GUIContent label, decimal value, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Decimal | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Decimal | Value assigned to the field. |
public static decimal DecimalUnitField(decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
System.Decimal | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Decimal | Value assigned to the field. |
public static decimal DecimalUnitField(string label, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
System.String | label | |
System.Decimal | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Decimal | Value assigned to the field. |
public static decimal DecimalUnitField(GUIContent label, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Decimal | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Decimal | Value assigned to the field. |
public static decimal DecimalUnitField(GUIContent label, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Decimal | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUIStyle | style | |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Decimal | Value assigned to the field. |
public static decimal DecimalUnitField(Rect rect, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | |
System.Decimal | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Decimal | Value assigned to the field. |
public static decimal DecimalUnitField(Rect rect, string label, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | |
System.String | label | |
System.Decimal | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Decimal | Value assigned to the field. |
public static decimal DecimalUnitField(Rect rect, GUIContent label, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Decimal | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Decimal | Value assigned to the field. |
public static decimal DecimalUnitField(Rect rect, GUIContent label, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Decimal | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Decimal | Value assigned to the field. |
public static double DelayedDoubleField(double value, params GUILayoutOption[] options)
System.Double | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double DelayedDoubleField(string label, double value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Double | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double DelayedDoubleField(GUIContent label, double value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Double | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double DelayedDoubleField(GUIContent label, double value, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Double | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double DelayedDoubleField(Rect rect, double value)
UnityEngine.Rect | rect | Position and size of the field. |
System.Double | value | Current value. |
System.Double | Value assigned to the field. |
public static double DelayedDoubleField(Rect rect, string label, double value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Double | value | Current value. |
System.Double | Value assigned to the field. |
public static double DelayedDoubleField(Rect rect, GUIContent label, double value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Double | value | Current value. |
System.Double | Value assigned to the field. |
public static double DelayedDoubleField(Rect rect, GUIContent label, double value, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Double | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Double | Value assigned to the field. |
public static float DelayedFloatField(float value, params GUILayoutOption[] options)
System.Single | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float DelayedFloatField(string label, float value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Single | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float DelayedFloatField(GUIContent label, float value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float DelayedFloatField(GUIContent label, float value, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float DelayedFloatField(Rect rect, float value)
UnityEngine.Rect | rect | Position and size of the field. |
System.Single | value | Current value. |
System.Single | Value assigned to the field. |
public static float DelayedFloatField(Rect rect, string label, float value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Single | value | Current value. |
System.Single | Value assigned to the field. |
public static float DelayedFloatField(Rect rect, GUIContent label, float value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
System.Single | Value assigned to the field. |
public static float DelayedFloatField(Rect rect, GUIContent label, float value, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Single | Value assigned to the field. |
public static int DelayedIntField(int value, params GUILayoutOption[] options)
System.Int32 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int DelayedIntField(string label, int value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Int32 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int DelayedIntField(GUIContent label, int value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int DelayedIntField(GUIContent label, int value, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int DelayedIntField(Rect rect, int value)
UnityEngine.Rect | rect | Position and size of the field. |
System.Int32 | value | Current value. |
System.Int32 | Value assigned to the field. |
public static int DelayedIntField(Rect rect, string label, int value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Int32 | value | Current value. |
System.Int32 | Value assigned to the field. |
public static int DelayedIntField(Rect rect, GUIContent label, int value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
System.Int32 | Value assigned to the field. |
public static int DelayedIntField(Rect rect, GUIContent label, int value, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Int32 | Value assigned to the field. |
public static long DelayedLongField(long value, params GUILayoutOption[] options)
System.Int64 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int64 | Value assigned to the field. |
public static long DelayedLongField(string label, long value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Int64 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int64 | Value assigned to the field. |
public static long DelayedLongField(GUIContent label, long value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int64 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int64 | Value assigned to the field. |
public static long DelayedLongField(GUIContent label, long value, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int64 | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int64 | Value assigned to the field. |
public static long DelayedLongField(Rect rect, long value)
UnityEngine.Rect | rect | Position and size of the field. |
System.Int64 | value | Current value. |
System.Int64 | Value assigned to the field. |
public static long DelayedLongField(Rect rect, string label, long value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Int64 | value | Current value. |
System.Int64 | Value assigned to the field. |
public static long DelayedLongField(Rect rect, GUIContent label, long value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int64 | value | Current value. |
System.Int64 | Value assigned to the field. |
public static long DelayedLongField(Rect rect, GUIContent label, long value, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int64 | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Int64 | Value assigned to the field. |
public static string DelayedTextField(string label, string value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.String | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.String | Value assigned to the field. |
public static string DelayedTextField(string value, params GUILayoutOption[] options)
System.String | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.String | Value assigned to the field. |
public static string DelayedTextField(GUIContent label, string value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.String | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.String | Value assigned to the field. |
public static string DelayedTextField(GUIContent label, string value, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.String | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.String | Value assigned to the field. |
public static string DelayedTextField(Rect rect, string value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | value | Current value. |
System.String | Value assigned to the field. |
public static string DelayedTextField(Rect rect, string label, string value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.String | value | Current value. |
System.String | Value assigned to the field. |
public static string DelayedTextField(Rect rect, GUIContent label, string value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.String | value | Current value. |
System.String | Value assigned to the field. |
public static string DelayedTextField(Rect rect, GUIContent label, string value, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.String | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.String | Value assigned to the field. |
public static double DoubleField(double value, params GUILayoutOption[] options)
System.Double | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double DoubleField(string label, double value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Double | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double DoubleField(GUIContent label, double value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Double | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double DoubleField(GUIContent label, double value, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Double | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double DoubleField(Rect rect, double value)
UnityEngine.Rect | rect | Position and size of the field. |
System.Double | value | Current value. |
System.Double | Value assigned to the field. |
public static double DoubleField(Rect rect, string label, double value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Double | value | Current value. |
System.Double | Value assigned to the field. |
public static double DoubleField(Rect rect, GUIContent label, double value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Double | value | Current value. |
System.Double | Value assigned to the field. |
public static double DoubleField(Rect rect, GUIContent label, double value, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Double | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Double | Value assigned to the field. |
public static double DoubleUnitField(double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
System.Double | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double DoubleUnitField(string label, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
System.String | label | |
System.Double | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double DoubleUnitField(GUIContent label, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Double | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double DoubleUnitField(GUIContent label, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Double | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUIStyle | style | |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double DoubleUnitField(Rect rect, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | |
System.Double | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Double | Value assigned to the field. |
public static double DoubleUnitField(Rect rect, string label, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | |
System.String | label | |
System.Double | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Double | Value assigned to the field. |
public static double DoubleUnitField(Rect rect, GUIContent label, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Double | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Double | Value assigned to the field. |
public static double DoubleUnitField(Rect rect, GUIContent label, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Double | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Double | Value assigned to the field. |
public static int Dropdown(int selected, string[] itemNames, params GUILayoutOption[] options)
System.Int32 | selected | Current value. |
System.String[] | itemNames | Names of selectable items. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int Dropdown(string label, int selected, string[] itemNames, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Int32 | selected | Current value. |
System.String[] | itemNames | Names of selectable items. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int Dropdown(GUIContent label, int selected, string[] itemNames, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | selected | Current value. |
System.String[] | itemNames | Names of selectable items. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int Dropdown(GUIContent label, int selected, string[] itemNames, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | selected | Current value. |
System.String[] | itemNames | Names of selectable items. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int Dropdown(Rect rect, int selected, string[] itemNames)
UnityEngine.Rect | rect | Position and size of the field. |
System.Int32 | selected | Current value. |
System.String[] | itemNames | Names of selectable items. |
System.Int32 | Value assigned to the field. |
public static int Dropdown(Rect rect, string label, int selected, string[] itemNames)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Int32 | selected | Current value. |
System.String[] | itemNames | Names of selectable items. |
System.Int32 | Value assigned to the field. |
public static int Dropdown(Rect rect, GUIContent label, int selected, string[] itemNames)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | selected | Current value. |
System.String[] | itemNames | Names of selectable items. |
System.Int32 | Value assigned to the field. |
public static int Dropdown(Rect rect, GUIContent label, int selected, string[] itemNames, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | selected | Current value. |
System.String[] | itemNames | Names of selectable items. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Int32 | Value assigned to the field. |
public static T Dropdown<T>(T selected, T[] items, string[] itemNames, params GUILayoutOption[] options)
T | selected | Current value. |
T[] | items | |
System.String[] | itemNames | Names of selectable items. If |
UnityEngine.GUILayoutOption[] | options | Layout options. |
T | Value assigned to the field. |
T |
public static bool Dropdown<T>(IList<int> selected, IList<T> items, bool multiSelection, params GUILayoutOption[] options)
System.Collections.Generic.IList<System.Int32> | selected | Current selection. |
System.Collections.Generic.IList<T> | items | Avaible items in the dropdown. |
System.Boolean | multiSelection | If |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Boolean |
|
T |
public static T Dropdown<T>(string label, T selected, T[] items, string[] itemNames, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
T | selected | Current value. |
T[] | items | |
System.String[] | itemNames | Names of selectable items. If |
UnityEngine.GUILayoutOption[] | options | Layout options. |
T | Value assigned to the field. |
T |
public static bool Dropdown<T>(string label, IList<int> selected, IList<T> items, bool multiSelection, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Collections.Generic.IList<System.Int32> | selected | Current selection. |
System.Collections.Generic.IList<T> | items | Avaible items in the dropdown. |
System.Boolean | multiSelection | If |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Boolean |
|
T |
public static T Dropdown<T>(GUIContent label, T selected, T[] items, string[] itemNames, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
T | selected | Current value. |
T[] | items | |
System.String[] | itemNames | Names of selectable items. If |
UnityEngine.GUILayoutOption[] | options | Layout options. |
T | Value assigned to the field. |
T |
public static T Dropdown<T>(GUIContent label, T selected, T[] items, string[] itemNames, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
T | selected | Current value. |
T[] | items | |
System.String[] | itemNames | Names of selectable items. If |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
UnityEngine.GUILayoutOption[] | options | Layout options. |
T | Value assigned to the field. |
T |
public static T Dropdown<T>(GUIContent label, T selected, IList<T> items)
UnityEngine.GUIContent | label | Label of field. Set to |
T | selected | Current value. |
System.Collections.Generic.IList<T> | items | Selectable items. |
T | Value assigned to the field. |
T |
public static bool Dropdown<T>(GUIContent label, IList<int> selected, IList<T> items, bool multiSelection, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Collections.Generic.IList<System.Int32> | selected | Current selection. |
System.Collections.Generic.IList<T> | items | Avaible items in the dropdown. |
System.Boolean | multiSelection | If |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Boolean |
|
T |
public static T Dropdown<T>(Rect rect, T selected, T[] items, string[] itemNames)
UnityEngine.Rect | rect | Position and size of the field. |
T | selected | Current value. |
T[] | items | |
System.String[] | itemNames | Names of selectable items. If |
T | Value assigned to the field. |
T |
public static bool Dropdown<T>(Rect rect, IList<int> selected, IList<T> items, bool multiSelection)
UnityEngine.Rect | rect | Position and size of the field. |
System.Collections.Generic.IList<System.Int32> | selected | Current selection. |
System.Collections.Generic.IList<T> | items | Avaible items in the dropdown. |
System.Boolean | multiSelection | If |
System.Boolean |
|
T |
public static T Dropdown<T>(Rect rect, string label, T selected, T[] items, string[] itemNames)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
T | selected | Current value. |
T[] | items | |
System.String[] | itemNames | Names of selectable items. If |
T | Value assigned to the field. |
T |
public static bool Dropdown<T>(Rect rect, string label, IList<int> selected, IList<T> items, bool multiSelection)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Collections.Generic.IList<System.Int32> | selected | Current selection. |
System.Collections.Generic.IList<T> | items | Avaible items in the dropdown. |
System.Boolean | multiSelection | If |
System.Boolean |
|
T |
public static T Dropdown<T>(Rect rect, GUIContent label, T selected, T[] items, string[] itemNames)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
T | selected | Current value. |
T[] | items | |
System.String[] | itemNames | Names of selectable items. If |
T | Value assigned to the field. |
T |
public static T Dropdown<T>(Rect rect, GUIContent label, T selected, T[] items, string[] itemNames, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
T | selected | Current value. |
T[] | items | Selectable items. |
System.String[] | itemNames | Names of selectable items. If |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
T | Value assigned to the field. |
T |
public static T Dropdown<T>(Rect rect, GUIContent label, T selected, IList<T> items)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
T | selected | Current value. |
System.Collections.Generic.IList<T> | items | Selectable items. |
T | Value assigned to the field. |
T |
public static bool Dropdown<T>(Rect rect, GUIContent label, IList<int> selected, IList<T> items, bool multiSelection)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Collections.Generic.IList<System.Int32> | selected | Current selection. |
System.Collections.Generic.IList<T> | items | Avaible items in the dropdown. |
System.Boolean | multiSelection | If |
System.Boolean |
|
T |
public static Enum EnumDropdown(Enum selected, params GUILayoutOption[] options)
System.Enum | selected | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Enum | Value assigned to the field. |
public static Enum EnumDropdown(string label, Enum selected, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Enum | selected | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Enum | Value assigned to the field. |
public static Enum EnumDropdown(GUIContent label, Enum selected, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Enum | selected | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Enum | Value assigned to the field. |
public static Enum EnumDropdown(GUIContent label, Enum selected, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Enum | selected | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Enum | Value assigned to the field. |
public static Enum EnumDropdown(Rect rect, Enum selected)
UnityEngine.Rect | rect | Position and size of the field. |
System.Enum | selected | Current value. |
System.Enum | Value assigned to the field. |
public static Enum EnumDropdown(Rect rect, string label, Enum selected)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Enum | selected | Current value. |
System.Enum | Value assigned to the field. |
public static Enum EnumDropdown(Rect rect, GUIContent label, Enum selected)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Enum | selected | Current value. |
System.Enum | Value assigned to the field. |
public static Enum EnumDropdown(Rect rect, GUIContent label, Enum selected, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Enum | selected | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Enum | Value assigned to the field. |
public static Quaternion EulerField(string label, Quaternion value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
UnityEngine.Quaternion | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion EulerField(GUIContent label, Quaternion value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Quaternion | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion EulerField(Quaternion value, params GUILayoutOption[] options)
UnityEngine.Quaternion | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion EulerField(Rect rect, string label, Quaternion value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
UnityEngine.Quaternion | value | Current value. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion EulerField(Rect rect, GUIContent label, Quaternion value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Quaternion | value | Current value. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion EulerField(Rect rect, Quaternion value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.Quaternion | value | Current value. |
UnityEngine.Quaternion | Value assigned to the field. |
public static string FilePathField(string path, string parentPath, string extensions, bool absolutePath, bool useBackslashes, bool includeFileExtension = true, params GUILayoutOption[] options)
System.String | path | The current value. |
System.String | parentPath | A parent path the path needs to be relative to. Use |
System.String | extensions | Comma separated list of allowed file extensions. Use |
System.Boolean | absolutePath | If |
System.Boolean | useBackslashes | If |
System.Boolean | includeFileExtension | If |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.String | A path to a file. |
public static string FilePathField(string path, string parentPath, string extensions, bool absolutePath, bool useBackslashes, params GUILayoutOption[] options)
System.String | path | The current value. |
System.String | parentPath | A parent path the path needs to be relative to. Use |
System.String | extensions | Comma separated list of allowed file extensions. Use |
System.Boolean | absolutePath | If |
System.Boolean | useBackslashes | If |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.String | A path to a file. |
public static string FilePathField(GUIContent label, string path, string parentPath, string extensions, bool absolutePath, bool useBackslashes, bool includeFileExtension = true, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.String | path | The current value. |
System.String | parentPath | A parent path the path needs to be relative to. Use |
System.String | extensions | Comma separated list of allowed file extensions. Use |
System.Boolean | absolutePath | If |
System.Boolean | useBackslashes | If |
System.Boolean | includeFileExtension | If |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.String | A path to a file. |
public static string FilePathField(GUIContent label, string path, string parentPath, string extensions, bool absolutePath, bool useBackslashes, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.String | path | The current value. |
System.String | parentPath | A parent path the path needs to be relative to. Use |
System.String | extensions | Comma separated list of allowed file extensions. Use |
System.Boolean | absolutePath | If |
System.Boolean | useBackslashes | If |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.String | A path to a file. |
public static string FilePathField(Rect rect, string path, string parentPath, string extensions, bool absolutePath, bool useBackslashes, bool includeFileExtension)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | path | The current value. |
System.String | parentPath | A parent path the path needs to be relative to. Use |
System.String | extensions | Comma separated list of allowed file extensions. Use |
System.Boolean | absolutePath | If |
System.Boolean | useBackslashes | If |
System.Boolean | includeFileExtension | If |
System.String | A path to a file. |
public static string FilePathField(Rect rect, GUIContent label, string path, string parentPath, string extensions, bool absolutePath, bool useBackslashes, bool includeFileExtension = true)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.String | path | The current value. |
System.String | parentPath | A parent path the path needs to be relative to. Use |
System.String | extensions | Comma separated list of allowed file extensions. Use |
System.Boolean | absolutePath | If |
System.Boolean | useBackslashes | If |
System.Boolean | includeFileExtension | If |
System.String | A path to a file. |
public static float FloatField(float value, params GUILayoutOption[] options)
System.Single | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float FloatField(string label, float value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Single | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float FloatField(GUIContent label, float value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float FloatField(GUIContent label, float value, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float FloatField(Rect rect, float value)
UnityEngine.Rect | rect | Position and size of the field. |
System.Single | value | Current value. |
System.Single | Value assigned to the field. |
public static float FloatField(Rect rect, string label, float value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Single | value | Current value. |
System.Single | Value assigned to the field. |
public static float FloatField(Rect rect, GUIContent label, float value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
System.Single | Value assigned to the field. |
public static float FloatField(Rect rect, GUIContent label, float value, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Single | Value assigned to the field. |
public static float FloatUnitField(float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
System.Single | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float FloatUnitField(string label, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
System.String | label | |
System.Single | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float FloatUnitField(GUIContent label, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float FloatUnitField(GUIContent label, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUIStyle | style | |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float FloatUnitField(Rect rect, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | |
System.Single | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Single | Value assigned to the field. |
public static float FloatUnitField(Rect rect, string label, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | |
System.String | label | |
System.Single | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Single | Value assigned to the field. |
public static float FloatUnitField(Rect rect, GUIContent label, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Single | Value assigned to the field. |
public static float FloatUnitField(Rect rect, GUIContent label, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Single | Value assigned to the field. |
public static string FolderPathField(string path, string parentPath, bool absolutePath, bool useBackslashes, params GUILayoutOption[] options)
System.String | path | The current value. |
System.String | parentPath | A parent path the path needs to be relative to. Use |
System.Boolean | absolutePath | If |
System.Boolean | useBackslashes | If |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.String | A path to a folder. |
public static string FolderPathField(GUIContent label, string path, string parentPath, bool absolutePath, bool useBackslashes, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.String | path | The current value. |
System.String | parentPath | A parent path the path needs to be relative to. Use |
System.Boolean | absolutePath | If |
System.Boolean | useBackslashes | If |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.String | A path to a folder. |
public static string FolderPathField(Rect rect, string path, string parentPath, bool absolutePath, bool useBackslashes)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | path | The current value. |
System.String | parentPath | A parent path the path needs to be relative to. Use |
System.Boolean | absolutePath | If |
System.Boolean | useBackslashes | If |
System.String | A path to a folder. |
public static string FolderPathField(Rect rect, GUIContent label, string path, string parentPath, bool absolutePath, bool useBackslashes)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.String | path | The current value. |
System.String | parentPath | A parent path the path needs to be relative to. Use |
System.Boolean | absolutePath | If |
System.Boolean | useBackslashes | If |
System.String | A path to a folder. |
public static Guid GuidField(GUIContent label, Guid value)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Guid | value | Current value. |
System.Guid | Value assigned to the field. |
public static Guid GuidField(GUIContent label, Guid value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Guid | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Guid | Value assigned to the field. |
public static Guid GuidField(GUIContent label, Guid value, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Guid | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Guid | Value assigned to the field. |
public static Guid GuidField(Rect rect, Guid value)
UnityEngine.Rect | rect | Position and size of the field. |
System.Guid | value | Current value. |
System.Guid | Value assigned to the field. |
public static Guid GuidField(Rect rect, GUIContent label, Guid value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Guid | value | Current value. |
System.Guid | Value assigned to the field. |
public static Guid GuidField(Rect rect, GUIContent label, Guid value, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Guid | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Guid | Value assigned to the field. |
public static int IntField(int value, params GUILayoutOption[] options)
System.Int32 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int IntField(string label, int value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Int32 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int IntField(GUIContent label, int value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int IntField(GUIContent label, int value, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int IntField(Rect rect, int value)
UnityEngine.Rect | rect | Position and size of the field. |
System.Int32 | value | Current value. |
System.Int32 | Value assigned to the field. |
public static int IntField(Rect rect, string label, int value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Int32 | value | Current value. |
System.Int32 | Value assigned to the field. |
public static int IntField(Rect rect, GUIContent label, int value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
System.Int32 | Value assigned to the field. |
public static int IntField(Rect rect, GUIContent label, int value, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Int32 | Value assigned to the field. |
public static int IntUnitField(int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
System.Int32 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int IntUnitField(string label, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
System.String | label | |
System.Int32 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int IntUnitField(GUIContent label, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int IntUnitField(GUIContent label, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUIStyle | style | |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int IntUnitField(Rect rect, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | |
System.Int32 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Int32 | Value assigned to the field. |
public static int IntUnitField(Rect rect, string label, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | |
System.String | label | |
System.Int32 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Int32 | Value assigned to the field. |
public static int IntUnitField(Rect rect, GUIContent label, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Int32 | Value assigned to the field. |
public static int IntUnitField(Rect rect, GUIContent label, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Int32 | Value assigned to the field. |
public static LayerMask LayerMaskField(string label, LayerMask layerMask, params GUILayoutOption[] options)
System.String | label | The label to use, or null if no label should be used. |
UnityEngine.LayerMask | layerMask | The layer mask to draw. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.LayerMask |
public static LayerMask