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 LayerMaskField(GUIContent label, LayerMask layerMask, params GUILayoutOption[] options)
UnityEngine.GUIContent | 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 LayerMaskField(LayerMask layerMask, params GUILayoutOption[] options)
UnityEngine.LayerMask | layerMask | The layer mask to draw. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.LayerMask |
public static LayerMask LayerMaskField(Rect rect, string label, LayerMask layerMask)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | The label to use, or null if no label should be used. |
UnityEngine.LayerMask | layerMask | The layer mask to draw. |
UnityEngine.LayerMask |
public static LayerMask LayerMaskField(Rect rect, GUIContent label, LayerMask layerMask)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
UnityEngine.LayerMask | layerMask | The layer mask to draw. |
UnityEngine.LayerMask |
public static LayerMask LayerMaskField(Rect rect, LayerMask layerMask)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.LayerMask | layerMask | The layer mask to draw. |
UnityEngine.LayerMask |
public static long LongField(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 LongField(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 LongField(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 LongField(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 LongField(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 LongField(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 LongField(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 LongField(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 long LongUnitField(long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
System.Int64 | 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.Int64 | Value assigned to the field. |
public static long LongUnitField(string label, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
System.String | label | |
System.Int64 | 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.Int64 | Value assigned to the field. |
public static long LongUnitField(GUIContent label, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int64 | 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.Int64 | Value assigned to the field. |
public static long LongUnitField(GUIContent label, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int64 | 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.Int64 | Value assigned to the field. |
public static long LongUnitField(Rect rect, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | |
System.Int64 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Int64 | Value assigned to the field. |
public static long LongUnitField(Rect rect, string label, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | |
System.String | label | |
System.Int64 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Int64 | Value assigned to the field. |
public static long LongUnitField(Rect rect, GUIContent label, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int64 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Int64 | Value assigned to the field. |
public static long LongUnitField(Rect rect, GUIContent label, long 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.Int64 | 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.Int64 | Value assigned to the field. |
public static void MinMaxSlider(ref float minValue, ref float maxValue, float minLimit, float maxLimit, bool showFields, params GUILayoutOption[] options)
System.Single | minValue | Current min value. |
System.Single | maxValue | Current max value. |
System.Single | minLimit | The min limit for the value. |
System.Single | maxLimit | The max limit for the value. |
System.Boolean | showFields | Show fields for min and max value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
public static void MinMaxSlider(string label, ref float minValue, ref float maxValue, float minLimit, float maxLimit, bool showFields = false, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Single | minValue | Current min value. |
System.Single | maxValue | Current max value. |
System.Single | minLimit | The min limit for the value. |
System.Single | maxLimit | The max limit for the value. |
System.Boolean | showFields | Show fields for min and max value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
public static Vector2 MinMaxSlider(string label, Vector2 value, Vector2 limits, bool showFields = false, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
UnityEngine.Vector2 | value | Current value. |
UnityEngine.Vector2 | limits | The min and max limit for the value. |
System.Boolean | showFields | Show fields for min and max value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Vector2 | A Vector2 with X set as min value, and Y to set as max value. |
public static void MinMaxSlider(GUIContent label, ref float minValue, ref float maxValue, float minLimit, float maxLimit, bool showFields = false, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | minValue | Current min value. |
System.Single | maxValue | Current max value. |
System.Single | minLimit | The min limit for the value. |
System.Single | maxLimit | The max limit for the value. |
System.Boolean | showFields | Show fields for min and max value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
public static Vector2 MinMaxSlider(GUIContent label, Vector2 value, Vector2 limits, bool showFields = false, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Vector2 | value | Current value. |
UnityEngine.Vector2 | limits | The min and max limit for the value. |
System.Boolean | showFields | Show fields for min and max value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Vector2 | A Vector2 with X set as min value, and Y to set as max value. |
public static void MinMaxSlider(Rect rect, ref float minValue, ref float maxValue, float minLimit, float maxLimit, bool showFields)
UnityEngine.Rect | rect | Position and size of the field. |
System.Single | minValue | Current min value. |
System.Single | maxValue | Current max value. |
System.Single | minLimit | The min limit for the value. |
System.Single | maxLimit | The max limit for the value. |
System.Boolean | showFields | Show fields for min and max value. |
public static void MinMaxSlider(Rect rect, string label, ref float minValue, ref float maxValue, float minLimit, float maxLimit, bool showFields = false)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Single | minValue | Current min value. |
System.Single | maxValue | Current max value. |
System.Single | minLimit | The min limit for the value. |
System.Single | maxLimit | The max limit for the value. |
System.Boolean | showFields | Show fields for min and max value. |
public static Vector2 MinMaxSlider(Rect rect, string label, Vector2 value, Vector2 limits, bool showFields = false)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
UnityEngine.Vector2 | value | Current value. |
UnityEngine.Vector2 | limits | The min and max limit for the value. |
System.Boolean | showFields | Show fields for min and max value. |
UnityEngine.Vector2 | A Vector2 with X set as min value, and Y to set as max value. |
public static void MinMaxSlider(Rect rect, GUIContent label, ref float minValue, ref float maxValue, float minLimit, float maxLimit, bool showFields = false)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | minValue | Current min value. |
System.Single | maxValue | Current max value. |
System.Single | minLimit | The min limit for the value. |
System.Single | maxLimit | The max limit for the value. |
System.Boolean | showFields | Show fields for min and max value. |
public static Vector2 MinMaxSlider(Rect rect, GUIContent label, Vector2 value, Vector2 limits, bool showFields = false)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Vector2 | value | Current value. |
UnityEngine.Vector2 | limits | The min and max limit for the value. |
System.Boolean | showFields | Show fields for min and max value. |
UnityEngine.Vector2 | A Vector2 with X set as min value, and Y to set as max value. |
public static Vector2 MinMaxSlider(Rect rect, Vector2 value, Vector2 limits, bool showFields)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.Vector2 | value | Current value. |
UnityEngine.Vector2 | limits | The min and max limit for the value. |
System.Boolean | showFields | Show fields for min and max value. |
UnityEngine.Vector2 | A Vector2 with X set as min value, and Y to set as max value. |
public static Vector2 MinMaxSlider(Vector2 value, Vector2 limits, bool showFields, params GUILayoutOption[] options)
UnityEngine.Vector2 | value | Current value. |
UnityEngine.Vector2 | limits | The min and max limit for the value. |
System.Boolean | showFields | Show fields for min and max value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Vector2 | A Vector2 with X set as min value, and Y to set as max value. |
public static object PolymorphicObjectField(object value, Type type, bool allowSceneObjects, params GUILayoutOption[] options)
System.Object | value | The value. |
System.Type | type | The object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Object |
public static object PolymorphicObjectField(object value, Type type, string title, bool allowSceneObjects, params GUILayoutOption[] options)
System.Object | value | The value. |
System.Type | type | The object type. This supports inheritance. |
System.String | title | The title to be shown in the object picker. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Object |
public static object PolymorphicObjectField(string label, object value, Type type, bool allowSceneObjects, params GUILayoutOption[] options)
System.String | label | The label to use, or null if no label should be used. |
System.Object | value | The value. |
System.Type | type | The object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Object |
public static object PolymorphicObjectField(GUIContent label, object value, Type type, bool allowSceneObjects, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
System.Object | value | The value. |
System.Type | type | The object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Object |
public static object PolymorphicObjectField(GUIContent label, object value, Type type, string title, bool allowSceneObjects, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
System.Object | value | The value. |
System.Type | type | The object type. This supports inheritance. |
System.String | title | The title to be shown in the object picker. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Object |
public static object PolymorphicObjectField(Rect rect, object value, Type type, bool allowSceneObjects, bool hasKeyboardFocus, int id)
UnityEngine.Rect | rect | |
System.Object | value | |
System.Type | type | |
System.Boolean | allowSceneObjects | |
System.Boolean | hasKeyboardFocus | |
System.Int32 | id |
System.Object |
public static object PolymorphicObjectField(Rect rect, object value, Type type, string title, bool allowSceneObjects, bool hasKeyboardFocus, int id)
UnityEngine.Rect | rect | |
System.Object | value | |
System.Type | type | |
System.String | title | |
System.Boolean | allowSceneObjects | |
System.Boolean | hasKeyboardFocus | |
System.Int32 | id |
System.Object |
public static object PolymorphicObjectField(Rect rect, GUIContent label, object value, Type type, bool allowSceneObjects)
UnityEngine.Rect | rect | |
UnityEngine.GUIContent | label | |
System.Object | value | |
System.Type | type | |
System.Boolean | allowSceneObjects |
System.Object |
public static TElement PreviewObjectField<TElement>(Rect rect, TElement value, bool dragOnly = false, bool allowMove = true, bool allowSwap = true, bool allowSceneObjects = true)
UnityEngine.Rect | rect | |
TElement | value | |
System.Boolean | dragOnly | |
System.Boolean | allowMove | |
System.Boolean | allowSwap | |
System.Boolean | allowSceneObjects |
TElement |
TElement |
public static double ProgressBarField(double value, double minValue, double maxValue, ProgressBarConfig config, params GUILayoutOption[] options)
System.Double | value | The current value of the progress bar. |
System.Double | minValue | The left hand side value of the progress bar. |
System.Double | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double |
public static double ProgressBarField(double value, double minValue, double maxValue, params GUILayoutOption[] options)
System.Double | value | The current value of the progress bar. |
System.Double | minValue | The left hand side value of the progress bar. |
System.Double | maxValue | The right hand side value of the progress bar. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double |
public static double ProgressBarField(string label, double value, double minValue, double maxValue, ProgressBarConfig config, params GUILayoutOption[] options)
System.String | label | The label to use, or null if no label should be used. |
System.Double | value | The current value of the progress bar. |
System.Double | minValue | The left hand side value of the progress bar. |
System.Double | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double |
public static double ProgressBarField(string label, double value, double minValue, double maxValue, params GUILayoutOption[] options)
System.String | label | The label to use, or null if no label should be used. |
System.Double | value | The current value of the progress bar. |
System.Double | minValue | The left hand side value of the progress bar. |
System.Double | maxValue | The right hand side value of the progress bar. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double |
public static double ProgressBarField(GUIContent label, double value, double minValue, double maxValue, ProgressBarConfig config, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
System.Double | value | The current value of the progress bar. |
System.Double | minValue | The left hand side value of the progress bar. |
System.Double | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double |
public static double ProgressBarField(GUIContent label, double value, double minValue, double maxValue, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
System.Double | value | The current value of the progress bar. |
System.Double | minValue | The left hand side value of the progress bar. |
System.Double | maxValue | The right hand side value of the progress bar. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double |
public static double ProgressBarField(Rect rect, double value, double minValue, double maxValue)
UnityEngine.Rect | rect | Position and size of the field. |
System.Double | value | The current value of the progress bar. |
System.Double | minValue | The left hand side value of the progress bar. |
System.Double | maxValue | The right hand side value of the progress bar. |
System.Double |
public static double ProgressBarField(Rect rect, double value, double minValue, double maxValue, ProgressBarConfig config)
UnityEngine.Rect | rect | Position and size of the field. |
System.Double | value | The current value of the progress bar. |
System.Double | minValue | The left hand side value of the progress bar. |
System.Double | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
System.Double |
public static double ProgressBarField(Rect rect, string label, double value, double minValue, double maxValue)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | The label to use, or null if no label should be used. |
System.Double | value | The current value of the progress bar. |
System.Double | minValue | The left hand side value of the progress bar. |
System.Double | maxValue | The right hand side value of the progress bar. |
System.Double |
public static double ProgressBarField(Rect rect, string label, double value, double minValue, double maxValue, ProgressBarConfig config)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | The label to use, or null if no label should be used. |
System.Double | value | The current value of the progress bar. |
System.Double | minValue | The left hand side value of the progress bar. |
System.Double | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
System.Double |
public static double ProgressBarField(Rect rect, GUIContent label, double value, double minValue, double maxValue)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
System.Double | value | The current value of the progress bar. |
System.Double | minValue | The left hand side value of the progress bar. |
System.Double | maxValue | The right hand side value of the progress bar. |
System.Double |
public static double ProgressBarField(Rect rect, GUIContent label, double value, double minValue, double maxValue, ProgressBarConfig config)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
System.Double | value | The current value of the progress bar. |
System.Double | minValue | The left hand side value of the progress bar. |
System.Double | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
System.Double |
public static double ProgressBarField(Rect rect, GUIContent label, double value, double minValue, double maxValue, ProgressBarConfig config, string valueLabel)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
System.Double | value | The current value of the progress bar. |
System.Double | minValue | The left hand side value of the progress bar. |
System.Double | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
System.String | valueLabel | Optional text for label to be drawn ontop of the progress bar. This value is only used if the DrawValueLabel option is enabled in the ProgressBarConfig. |
System.Double |
public static void ProgressBarOverlayLabel(Rect rect, GUIContent label, float progress, ProgressBarConfig config)
UnityEngine.Rect | rect | The rect used to draw the progress bar field with. (Minus the Rect for the prefix label, if any.) |
UnityEngine.GUIContent | label | The label to draw ontop of the progress bar field. |
System.Single | progress | The relative value of the progress bar, from 0 to 1. |
ProgressBarConfig | config | The configuration used to draw the progress bar field. |
public static Quaternion QuaternionField(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 QuaternionField(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 QuaternionField(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 QuaternionField(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 QuaternionField(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 QuaternionField(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 float RangeFloatField(float value, float min, float max, params GUILayoutOption[] options)
System.Single | value | Current value. |
System.Single | min | Minimum value. |
System.Single | max | Maximum value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float RangeFloatField(string label, float value, float min, float max, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Single | value | Current value. |
System.Single | min | Minimum value. |
System.Single | max | Maximum value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float RangeFloatField(GUIContent label, float value, float min, float max, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
System.Single | min | Minimum value. |
System.Single | max | Maximum value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float RangeFloatField(GUIContent label, float value, float min, float max, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
System.Single | min | Minimum value. |
System.Single | max | Maximum 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 RangeFloatField(Rect rect, float value, float min, float max)
UnityEngine.Rect | rect | Position and size of the field. |
System.Single | value | Current value. |
System.Single | min | Minimum value. |
System.Single | max | Maximum value. |
System.Single | Value assigned to the field. |
public static float RangeFloatField(Rect rect, string label, float value, float min, float max)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Single | value | Current value. |
System.Single | min | Minimum value. |
System.Single | max | Maximum value. |
System.Single | Value assigned to the field. |
public static float RangeFloatField(Rect rect, GUIContent label, float value, float min, float max)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
System.Single | min | Minimum value. |
System.Single | max | Maximum value. |
System.Single | Value assigned to the field. |
public static float RangeFloatField(Rect rect, GUIContent label, float value, float min, float max, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
System.Single | min | Minimum value. |
System.Single | max | Maximum value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Single | Value assigned to the field. |
public static int RangeIntField(int value, int min, int max, params GUILayoutOption[] options)
System.Int32 | value | Current value. |
System.Int32 | min | Minimum value. |
System.Int32 | max | Maximum value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int RangeIntField(string label, int value, int min, int max, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
System.Int32 | value | Current value. |
System.Int32 | min | Minimum value. |
System.Int32 | max | Maximum value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int RangeIntField(GUIContent label, int value, int min, int max, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
System.Int32 | min | Minimum value. |
System.Int32 | max | Maximum value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int RangeIntField(GUIContent label, int value, int min, int max, GUIStyle style, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
System.Int32 | min | Minimum value. |
System.Int32 | max | Maximum 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 RangeIntField(Rect rect, int value, int min, int max)
UnityEngine.Rect | rect | Position and size of the field. |
System.Int32 | value | Current value. |
System.Int32 | min | Minimum value. |
System.Int32 | max | Maximum value. |
System.Int32 | Value assigned to the field. |
public static int RangeIntField(Rect rect, string label, int value, int min, int max)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Int32 | value | Current value. |
System.Int32 | min | Minimum value. |
System.Int32 | max | Maximum value. |
System.Int32 | Value assigned to the field. |
public static int RangeIntField(Rect rect, GUIContent label, int value, int min, int max)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
System.Int32 | min | Minimum value. |
System.Int32 | max | Maximum value. |
System.Int32 | Value assigned to the field. |
public static int RangeIntField(Rect rect, GUIContent label, int value, int min, int max, GUIStyle style)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
System.Int32 | min | Minimum value. |
System.Int32 | max | Maximum value. |
UnityEngine.GUIStyle | style | GUIStyle for drawing the field. Set to |
System.Int32 | Value assigned to the field. |
public static Quaternion RotationField(string label, Quaternion value, QuaternionDrawMode mode, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
UnityEngine.Quaternion | value | Current value. |
QuaternionDrawMode | mode | Draw mode for rotation field. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion RotationField(GUIContent label, Quaternion value, QuaternionDrawMode mode, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Quaternion | value | Current value. |
QuaternionDrawMode | mode | Draw mode for rotation field. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion RotationField(Quaternion value, QuaternionDrawMode mode, params GUILayoutOption[] options)
UnityEngine.Quaternion | value | Current value. |
QuaternionDrawMode | mode | Draw mode for rotation field. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion RotationField(Rect rect, string label, Quaternion value, QuaternionDrawMode mode)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
UnityEngine.Quaternion | value | Current value. |
QuaternionDrawMode | mode | Draw mode for rotation field. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion RotationField(Rect rect, GUIContent label, Quaternion value, QuaternionDrawMode mode)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Quaternion | value | Current value. |
QuaternionDrawMode | mode | Draw mode for rotation field. |
UnityEngine.Quaternion | Value assigned to the field. |
public static Quaternion RotationField(Rect rect, Quaternion value, QuaternionDrawMode mode)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.Quaternion | value | Current value. |
QuaternionDrawMode | mode | Draw mode for rotation field. |
UnityEngine.Quaternion | Value assigned to the field. |
public static long SegmentedProgressBarField(long value, long minValue, long maxValue, ProgressBarConfig config, params GUILayoutOption[] options)
System.Int64 | value | The current value of the progress bar. |
System.Int64 | minValue | The left hand side value of the progress bar. |
System.Int64 | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int64 |
public static long SegmentedProgressBarField(long value, long minValue, long maxValue, params GUILayoutOption[] options)
System.Int64 | value | The current value of the progress bar. |
System.Int64 | minValue | The left hand side value of the progress bar. |
System.Int64 | maxValue | The right hand side value of the progress bar. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int64 |
public static long SegmentedProgressBarField(string label, long value, long minValue, long maxValue, ProgressBarConfig config, params GUILayoutOption[] options)
System.String | label | The label to use, or null if no label should be used. |
System.Int64 | value | The current value of the progress bar. |
System.Int64 | minValue | The left hand side value of the progress bar. |
System.Int64 | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int64 |
public static long SegmentedProgressBarField(string label, long value, long minValue, long maxValue, params GUILayoutOption[] options)
System.String | label | The label to use, or null if no label should be used. |
System.Int64 | value | The current value of the progress bar. |
System.Int64 | minValue | The left hand side value of the progress bar. |
System.Int64 | maxValue | The right hand side value of the progress bar. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int64 |
public static long SegmentedProgressBarField(GUIContent label, long value, long minValue, long maxValue, ProgressBarConfig config, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
System.Int64 | value | The current value of the progress bar. |
System.Int64 | minValue | The left hand side value of the progress bar. |
System.Int64 | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int64 |
public static long SegmentedProgressBarField(GUIContent label, long value, long minValue, long maxValue, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
System.Int64 | value | The current value of the progress bar. |
System.Int64 | minValue | The left hand side value of the progress bar. |
System.Int64 | maxValue | The right hand side value of the progress bar. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int64 |
public static long SegmentedProgressBarField(Rect rect, long value, long minValue, long maxValue)
UnityEngine.Rect | rect | Position and size of the field. |
System.Int64 | value | The current value of the progress bar. |
System.Int64 | minValue | The left hand side value of the progress bar. |
System.Int64 | maxValue | The right hand side value of the progress bar. |
System.Int64 |
public static long SegmentedProgressBarField(Rect rect, long value, long minValue, long maxValue, ProgressBarConfig config)
UnityEngine.Rect | rect | Position and size of the field. |
System.Int64 | value | The current value of the progress bar. |
System.Int64 | minValue | The left hand side value of the progress bar. |
System.Int64 | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
System.Int64 |
public static long SegmentedProgressBarField(Rect rect, string label, long value, long minValue, long maxValue)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | The label to use, or null if no label should be used. |
System.Int64 | value | The current value of the progress bar. |
System.Int64 | minValue | The left hand side value of the progress bar. |
System.Int64 | maxValue | The right hand side value of the progress bar. |
System.Int64 |
public static long SegmentedProgressBarField(Rect rect, string label, long value, long minValue, long maxValue, ProgressBarConfig config)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | The label to use, or null if no label should be used. |
System.Int64 | value | The current value of the progress bar. |
System.Int64 | minValue | The left hand side value of the progress bar. |
System.Int64 | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
System.Int64 |
public static long SegmentedProgressBarField(Rect rect, GUIContent label, long value, long minValue, long maxValue)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
System.Int64 | value | The current value of the progress bar. |
System.Int64 | minValue | The left hand side value of the progress bar. |
System.Int64 | maxValue | The right hand side value of the progress bar. |
System.Int64 |
public static long SegmentedProgressBarField(Rect rect, GUIContent label, long value, long minValue, long maxValue, ProgressBarConfig config)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
System.Int64 | value | The current value of the progress bar. |
System.Int64 | minValue | The left hand side value of the progress bar. |
System.Int64 | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
System.Int64 |
public static long SegmentedProgressBarField(Rect rect, GUIContent label, long value, long minValue, long maxValue, ProgressBarConfig config, string valueLabel)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
System.Int64 | value | The current value of the progress bar. |
System.Int64 | minValue | The left hand side value of the progress bar. |
System.Int64 | maxValue | The right hand side value of the progress bar. |
ProgressBarConfig | config | The configuration for the progress bar field. |
System.String | valueLabel | Optional text for label to be drawn ontop of the progress bar. This value is only used if the DrawValueLabel option is enabled in the ProgressBarConfig. |
System.Int64 |
public static decimal SmartDecimalField(in FieldExpressionContext expressionContext, decimal value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
System.Decimal | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Decimal | Value assigned to the field. |
public static decimal SmartDecimalField(in FieldExpressionContext expressionContext, string label, decimal value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDecimalField(in FieldExpressionContext expressionContext, GUIContent label, decimal value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDecimalField(in FieldExpressionContext expressionContext, GUIContent label, decimal value, GUIStyle style, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDecimalField(in FieldExpressionContext expressionContext, Rect rect, decimal value)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.Rect | rect | Position and size of the field. |
System.Decimal | value | Current value. |
System.Decimal | Value assigned to the field. |
public static decimal SmartDecimalField(in FieldExpressionContext expressionContext, Rect rect, string label, decimal value)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDecimalField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, decimal value, GUIStyle style)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDecimalUnitField(in FieldExpressionContext expressionContext, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDecimalUnitField(in FieldExpressionContext expressionContext, string label, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
System.String | 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 SmartDecimalUnitField(in FieldExpressionContext expressionContext, GUIContent label, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDecimalUnitField(in FieldExpressionContext expressionContext, GUIContent label, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDecimalUnitField(in FieldExpressionContext expressionContext, Rect rect, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDecimalUnitField(in FieldExpressionContext expressionContext, Rect rect, string label, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDecimalUnitField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDecimalUnitField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, decimal value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDoubleField(in FieldExpressionContext expressionContext, double value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
System.Double | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double SmartDoubleField(in FieldExpressionContext expressionContext, string label, double value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDoubleField(in FieldExpressionContext expressionContext, GUIContent label, double value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDoubleField(in FieldExpressionContext expressionContext, GUIContent label, double value, GUIStyle style, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Double | value | Current value. |
UnityEngine.GUIStyle | style | |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Double | Value assigned to the field. |
public static double SmartDoubleField(in FieldExpressionContext expressionContext, Rect rect, double value)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.Rect | rect | |
System.Double | value | Current value. |
System.Double | Value assigned to the field. |
public static double SmartDoubleField(in FieldExpressionContext expressionContext, Rect rect, string label, double value)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDoubleField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, double value, GUIStyle style)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDoubleUnitField(in FieldExpressionContext expressionContext, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDoubleUnitField(in FieldExpressionContext expressionContext, string label, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
System.String | 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 SmartDoubleUnitField(in FieldExpressionContext expressionContext, GUIContent label, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDoubleUnitField(in FieldExpressionContext expressionContext, GUIContent label, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDoubleUnitField(in FieldExpressionContext expressionContext, Rect rect, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDoubleUnitField(in FieldExpressionContext expressionContext, Rect rect, string label, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDoubleUnitField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartDoubleUnitField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, double value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style)
FieldExpressionContext | expressionContext | Context for expression support. |
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 float SmartFloatField(in FieldExpressionContext expressionContext, float value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
System.Single | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float SmartFloatField(in FieldExpressionContext expressionContext, string label, float value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartFloatField(in FieldExpressionContext expressionContext, GUIContent label, float value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartFloatField(in FieldExpressionContext expressionContext, GUIContent label, float value, GUIStyle style, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Single | value | Current value. |
UnityEngine.GUIStyle | style | |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Single | Value assigned to the field. |
public static float SmartFloatField(in FieldExpressionContext expressionContext, Rect rect, float value)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.Rect | rect | |
System.Single | value | Current value. |
System.Single | Value assigned to the field. |
public static float SmartFloatField(in FieldExpressionContext expressionContext, Rect rect, string label, float value)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartFloatField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, float value, GUIStyle style)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartFloatUnitField(in FieldExpressionContext expressionContext, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartFloatUnitField(in FieldExpressionContext expressionContext, string label, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
System.String | 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 SmartFloatUnitField(in FieldExpressionContext expressionContext, GUIContent label, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartFloatUnitField(in FieldExpressionContext expressionContext, GUIContent label, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartFloatUnitField(in FieldExpressionContext expressionContext, Rect rect, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartFloatUnitField(in FieldExpressionContext expressionContext, Rect rect, string label, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartFloatUnitField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartFloatUnitField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style)
FieldExpressionContext | expressionContext | Context for expression support. |
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 int SmartIntField(in FieldExpressionContext expressionContext, int value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
System.Int32 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int SmartIntField(in FieldExpressionContext expressionContext, string label, int value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartIntField(in FieldExpressionContext expressionContext, GUIContent label, int value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartIntField(in FieldExpressionContext expressionContext, GUIContent label, int value, GUIStyle style, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int32 | value | Current value. |
UnityEngine.GUIStyle | style | |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int32 | Value assigned to the field. |
public static int SmartIntField(in FieldExpressionContext expressionContext, Rect rect, int value)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.Rect | rect | |
System.Int32 | value | Current value. |
System.Int32 | Value assigned to the field. |
public static int SmartIntField(in FieldExpressionContext expressionContext, Rect rect, string label, int value)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartIntField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, int value, GUIStyle style)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartIntUnitField(in FieldExpressionContext expressionContext, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | |
System.Int32 | value | |
UnitInfo | baseUnitInfo | |
UnitInfo | displayUnitInfo | |
UnityEngine.GUILayoutOption[] | options |
System.Int32 |
public static int SmartIntUnitField(in FieldExpressionContext expressionContext, string label, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
System.String | 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 SmartIntUnitField(in FieldExpressionContext expressionContext, GUIContent label, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartIntUnitField(in FieldExpressionContext expressionContext, GUIContent label, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartIntUnitField(in FieldExpressionContext expressionContext, Rect rect, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.Rect | rect | Position and size of the field. |
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 SmartIntUnitField(in FieldExpressionContext expressionContext, Rect rect, string label, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.Rect | rect | Position and size of the field. |
System.String | 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 SmartIntUnitField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartIntUnitField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, int value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style)
FieldExpressionContext | expressionContext | Context for expression support. |
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 long SmartLongField(in FieldExpressionContext expressionContext, long value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
System.Int64 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int64 | Value assigned to the field. |
public static long SmartLongField(in FieldExpressionContext expressionContext, string label, long value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartLongField(in FieldExpressionContext expressionContext, GUIContent label, long value, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartLongField(in FieldExpressionContext expressionContext, GUIContent label, long value, GUIStyle style, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int64 | value | Current value. |
UnityEngine.GUIStyle | style | |
UnityEngine.GUILayoutOption[] | options | Layout options. |
System.Int64 | Value assigned to the field. |
public static long SmartLongField(in FieldExpressionContext expressionContext, Rect rect, long value)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.Rect | rect | |
System.Int64 | value | Current value. |
System.Int64 | Value assigned to the field. |
public static long SmartLongField(in FieldExpressionContext expressionContext, Rect rect, string label, long value)
FieldExpressionContext | expressionContext | Context for expression support. |
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 SmartLongField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, long value, GUIStyle style)
FieldExpressionContext | expressionContext | Context for expression support. |
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 long SmartLongUnitField(in FieldExpressionContext expressionContext, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | |
System.Int64 | value | |
UnitInfo | baseUnitInfo | |
UnitInfo | displayUnitInfo | |
UnityEngine.GUILayoutOption[] | options |
System.Int64 |
public static long SmartLongUnitField(in FieldExpressionContext expressionContext, string label, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
System.String | label | Label of field. Set to |
System.Int64 | 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.Int64 | Value assigned to the field. |
public static long SmartLongUnitField(in FieldExpressionContext expressionContext, GUIContent label, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int64 | 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.Int64 | Value assigned to the field. |
public static long SmartLongUnitField(in FieldExpressionContext expressionContext, GUIContent label, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style, params GUILayoutOption[] options)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int64 | 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.Int64 | Value assigned to the field. |
public static long SmartLongUnitField(in FieldExpressionContext expressionContext, Rect rect, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.Rect | rect | Position and size of the field. |
System.Int64 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Int64 | Value assigned to the field. |
public static long SmartLongUnitField(in FieldExpressionContext expressionContext, Rect rect, string label, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
System.Int64 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Int64 | Value assigned to the field. |
public static long SmartLongUnitField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int64 | value | Current value. |
UnitInfo | baseUnitInfo | UnitInfo of the |
UnitInfo | displayUnitInfo | UnitInfo of the displayed value in the field, converted from |
System.Int64 | Value assigned to the field. |
public static long SmartLongUnitField(in FieldExpressionContext expressionContext, Rect rect, GUIContent label, long value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo, GUIStyle style)
FieldExpressionContext | expressionContext | Context for expression support. |
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
System.Int64 | 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.Int64 | Value assigned to the field. |
public static string TextField(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 TextField(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 TextField(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 TextField(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 TextField(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 TextField(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 TextField(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 TextField(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 Object UnityObjectField(string label, Object value, Type objectType, bool allowSceneObjects, params GUILayoutOption[] options)
System.String | label | The label to use, or null if no label should be used. |
UnityEngine.Object | value | The Unity object. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Object |
public static Object UnityObjectField(GUIContent label, Object value, Type objectType, bool allowSceneObjects, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
UnityEngine.Object | value | The Unity object. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Object |
public static Object UnityObjectField(Object value, Type objectType, bool allowSceneObjects, params GUILayoutOption[] options)
UnityEngine.Object | value | The Unity object. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Object |
public static Object UnityObjectField(Rect rect, string label, Object value, Type objectType, bool allowSceneObjects)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | The label to use, or null if no label should be used. |
UnityEngine.Object | value | The Unity object. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
UnityEngine.Object |
public static Object UnityObjectField(Rect rect, GUIContent label, Object value, Type objectType, bool allowSceneObjects)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
UnityEngine.Object | value | The Unity object. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
UnityEngine.Object |
public static Object UnityObjectField(Rect rect, Object value, Type objectType, bool allowSceneObjects)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.Object | value | The Unity object. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
UnityEngine.Object |
public static Object UnityPreviewObjectField(string label, Object value, Type objectType, bool allowSceneObjects, float height = 30F, ObjectFieldAlignment alignment = ObjectFieldAlignment.Right)
System.String | label | The label to use, or null if no label should be used. |
UnityEngine.Object | value | The Unity object. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
System.Single | height | The height or size of the square object field. |
ObjectFieldAlignment | alignment | How the square object field should be aligned. |
UnityEngine.Object |
public static Object UnityPreviewObjectField(GUIContent label, Object value, Type objectType, bool allowSceneObjects, float height = 30F, ObjectFieldAlignment alignment = ObjectFieldAlignment.Right)
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
UnityEngine.Object | value | The Unity object. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
System.Single | height | The height or size of the square object field. |
ObjectFieldAlignment | alignment | How the square object field should be aligned. |
UnityEngine.Object |
public static Object UnityPreviewObjectField(GUIContent label, Object value, Texture preview, Type objectType, bool allowSceneObjects, float height = 30F, ObjectFieldAlignment alignment = ObjectFieldAlignment.Right)
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
UnityEngine.Object | value | The Unity object. |
UnityEngine.Texture | preview | The texture to be used as the preview. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
System.Single | height | The height or size of the square object field. |
ObjectFieldAlignment | alignment | How the square object field should be aligned. |
UnityEngine.Object |
public static Object UnityPreviewObjectField(Object value, Type objectType, bool allowSceneObjects, float height = 30F, ObjectFieldAlignment alignment = ObjectFieldAlignment.Right)
UnityEngine.Object | value | The Unity object. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
System.Single | height | The height or size of the square object field. |
ObjectFieldAlignment | alignment | How the square object field should be aligned. |
UnityEngine.Object |
public static Object UnityPreviewObjectField(Rect rect, string label, Object value, Type objectType, bool allowSceneObjects, ObjectFieldAlignment alignment = ObjectFieldAlignment.Right)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | The label to use, or null if no label should be used. |
UnityEngine.Object | value | The Unity object. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
ObjectFieldAlignment | alignment | How the square object field should be aligned. |
UnityEngine.Object |
public static Object UnityPreviewObjectField(Rect rect, GUIContent label, Object value, Type type, ObjectFieldAlignment alignment, bool dragOnly = false, bool allowMove = true, bool allowSwap = true, bool allowSceneObjects = true)
UnityEngine.Rect | rect | |
UnityEngine.GUIContent | label | |
UnityEngine.Object | value | |
System.Type | type | |
ObjectFieldAlignment | alignment | |
System.Boolean | dragOnly | |
System.Boolean | allowMove | |
System.Boolean | allowSwap | |
System.Boolean | allowSceneObjects |
UnityEngine.Object |
public static Object UnityPreviewObjectField(Rect rect, GUIContent label, Object value, Type objectType, bool allowSceneObjects, ObjectFieldAlignment alignment = ObjectFieldAlignment.Right)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
UnityEngine.Object | value | The Unity object. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
ObjectFieldAlignment | alignment | How the square object field should be aligned. |
UnityEngine.Object |
public static Object UnityPreviewObjectField(Rect rect, GUIContent label, Object value, Texture preview, Type type, ObjectFieldAlignment alignment, bool dragOnly = false, bool allowMove = true, bool allowSwap = true, bool allowSceneObjects = true)
UnityEngine.Rect | rect | |
UnityEngine.GUIContent | label | |
UnityEngine.Object | value | |
UnityEngine.Texture | preview | |
System.Type | type | |
ObjectFieldAlignment | alignment | |
System.Boolean | dragOnly | |
System.Boolean | allowMove | |
System.Boolean | allowSwap | |
System.Boolean | allowSceneObjects |
UnityEngine.Object |
public static Object UnityPreviewObjectField(Rect rect, GUIContent label, Object value, Texture preview, Type objectType, bool allowSceneObjects, ObjectFieldAlignment alignment = ObjectFieldAlignment.Right)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | The label to use, or null if no label should be used. |
UnityEngine.Object | value | The Unity object. |
UnityEngine.Texture | preview | The Texture to be used as the preview. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
ObjectFieldAlignment | alignment | How the square object field should be aligned. |
UnityEngine.Object |
public static Object UnityPreviewObjectField(Rect rect, Object value, Type objectType, bool allowSceneObjects, ObjectFieldAlignment alignment = ObjectFieldAlignment.Right)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.Object | value | The Unity object. |
System.Type | objectType | The Unity object type. This supports inheritance. |
System.Boolean | allowSceneObjects | Wheather or not to allow scene objects. |
ObjectFieldAlignment | alignment | How the square object field should be aligned. |
UnityEngine.Object |
public static Object UnityPreviewObjectField(Rect rect, Object value, Type type, bool dragOnly = false, bool allowMove = true, bool allowSwap = true, bool allowSceneObjects = true)
UnityEngine.Rect | rect | |
UnityEngine.Object | value | |
System.Type | type | |
System.Boolean | dragOnly | |
System.Boolean | allowMove | |
System.Boolean | allowSwap | |
System.Boolean | allowSceneObjects |
UnityEngine.Object |
public static Object UnityPreviewObjectField(Rect rect, Object value, Texture texture, Type type, bool dragOnly = false, bool allowMove = true, bool allowSwap = true, bool allowSceneObjects = true)
UnityEngine.Rect | rect | |
UnityEngine.Object | value | |
UnityEngine.Texture | texture | |
System.Type | type | |
System.Boolean | dragOnly | |
System.Boolean | allowMove | |
System.Boolean | allowSwap | |
System.Boolean | allowSceneObjects |
UnityEngine.Object |
public static Vector2 Vector2Field(string label, Vector2 value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
UnityEngine.Vector2 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Vector2 | Value assigned to the field. |
public static Vector2 Vector2Field(GUIContent label, Vector2 value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Vector2 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Vector2 | Value assigned to the field. |
public static Vector2 Vector2Field(Rect rect, string label, Vector2 value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
UnityEngine.Vector2 | value | Current value. |
UnityEngine.Vector2 | Value assigned to the field. |
public static Vector2 Vector2Field(Rect rect, GUIContent label, Vector2 value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Vector2 | value | Current value. |
UnityEngine.Vector2 | Value assigned to the field. |
public static Vector2 Vector2Field(Rect rect, Vector2 value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.Vector2 | value | Current value. |
UnityEngine.Vector2 | Value assigned to the field. |
public static Vector2 Vector2Field(Vector2 value, params GUILayoutOption[] options)
UnityEngine.Vector2 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Vector2 | Value assigned to the field. |
public static Vector3 Vector3Field(string label, Vector3 value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
UnityEngine.Vector3 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Vector3 | Value assigned to the field. |
public static Vector3 Vector3Field(GUIContent label, Vector3 value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Vector3 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Vector3 | Value assigned to the field. |
public static Vector3 Vector3Field(Rect rect, string label, Vector3 value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
UnityEngine.Vector3 | value | Current value. |
UnityEngine.Vector3 | Value assigned to the field. |
public static Vector3 Vector3Field(Rect rect, GUIContent label, Vector3 value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Vector3 | value | Current value. |
UnityEngine.Vector3 | Value assigned to the field. |
public static Vector3 Vector3Field(Rect rect, Vector3 value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.Vector3 | value | Current value. |
UnityEngine.Vector3 | Value assigned to the field. |
public static Vector3 Vector3Field(Vector3 value, params GUILayoutOption[] options)
UnityEngine.Vector3 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Vector3 | Value assigned to the field. |
public static Vector4 Vector4Field(string label, Vector4 value, params GUILayoutOption[] options)
System.String | label | Label of field. Set to |
UnityEngine.Vector4 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Vector4 | Value assigned to the field. |
public static Vector4 Vector4Field(GUIContent label, Vector4 value, params GUILayoutOption[] options)
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Vector4 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Vector4 | Value assigned to the field. |
public static Vector4 Vector4Field(Rect rect, string label, Vector4 value)
UnityEngine.Rect | rect | Position and size of the field. |
System.String | label | Label of field. Set to |
UnityEngine.Vector4 | value | Current value. |
UnityEngine.Vector4 | Value assigned to the field. |
public static Vector4 Vector4Field(Rect rect, GUIContent label, Vector4 value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.GUIContent | label | Label of field. Set to |
UnityEngine.Vector4 | value | Current value. |
UnityEngine.Vector4 | Value assigned to the field. |
public static Vector4 Vector4Field(Rect rect, Vector4 value)
UnityEngine.Rect | rect | Position and size of the field. |
UnityEngine.Vector4 | value | Current value. |
UnityEngine.Vector4 | Value assigned to the field. |
public static Vector4 Vector4Field(Vector4 value, params GUILayoutOption[] options)
UnityEngine.Vector4 | value | Current value. |
UnityEngine.GUILayoutOption[] | options | Layout options. |
UnityEngine.Vector4 | Value assigned to the field. |
public static Vector4 VectorPrefixLabel(string label, Vector4 value)
System.String | label | The label content. If |
UnityEngine.Vector4 | value | The value for the vector field. |
UnityEngine.Vector4 | The vector scaled by label dragging. |
public static Vector4 VectorPrefixLabel(GUIContent label, Vector4 value)
UnityEngine.GUIContent | label | The label content. If |
UnityEngine.Vector4 | value | The value for the vector field. |
UnityEngine.Vector4 | The vector scaled by label dragging. |
public static Vector4 VectorPrefixLabel(ref Rect totalRect, string label, Vector4 value)
UnityEngine.Rect | totalRect | The position and total size of the field. |
System.String | label | The label content. If |
UnityEngine.Vector4 | value | The value for the vector field. |
UnityEngine.Vector4 | The vector scaled by label dragging. |
public static Vector4 VectorPrefixLabel(ref Rect totalRect, GUIContent label, Vector4 value)
UnityEngine.Rect | totalRect | The position and total size of the field. |
UnityEngine.GUIContent | label | The label content. If |
UnityEngine.Vector4 | value | The value for the vector field. |
UnityEngine.Vector4 | The vector scaled by label dragging. |
public static Vector4 VectorPrefixSlideRect(Rect rect, Vector4 value)
UnityEngine.Rect | rect | |
UnityEngine.Vector4 | value |
UnityEngine.Vector4 |