PropertyInterface
Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface Class Reference

Detailed Description

Interface for PropertyInterface gui with automatic layout

Properties

static GUIContent Warnicon [get]
 The unity console Warn icon. More...
 

Static Public Attributes

static float TagIconWidth = EditorGUIUtility.singleLineHeight * 2
 With for a Tag icon field. More...
 
static float SingleLineIconWidth = EditorGUIUtility.singleLineHeight - 2
 With for a single line Tag icon field. More...
 
static int MinInlineVectorFieldWidth = 416
 Min width to be able to draw a Vector field in a single line. More...
 

Static Public Member Functions

static TagID TagIdField_WithIcon (long tagIDValue, params GUILayoutOption[] options)
 Draw a TagID Field and it's icon. More...
 
static TagID TagIdField_WithIcon (string label, long tagIDValue, params GUILayoutOption[] options)
 Draw a TagID Field and it's icon. More...
 
static TagID TagIdField_WithIcon (GUIContent label, long tagIDValue, params GUILayoutOption[] options)
 Draw a TagID Field and it's icon. More...
 
static TagID TagIdField_WithIcon (TagID tagID, params GUILayoutOption[] options)
 Draw a TagID Field and it's icon. More...
 
static TagID TagIdField_WithIcon (string label, TagID tagID, params GUILayoutOption[] options)
 Draw a TagID Field and it's icon. More...
 
static TagID TagIdField_WithIcon (GUIContent label, TagID tagID, params GUILayoutOption[] options)
 Draw a TagID Field and it's icon . More...
 
static TagID TagIdField (long tagIDValue, params GUILayoutOption[] options)
 Draw a TagID Field . More...
 
static TagID TagIdField (string label, long tagIDValue, params GUILayoutOption[] options)
 Draw a TagID Field . More...
 
static TagID TagIdField (GUIContent label, long tagIDValue, params GUILayoutOption[] options)
 Draw a TagID Field . More...
 
static TagID TagIdField (TagID tagID, params GUILayoutOption[] options)
 Draw a TagID Field . More...
 
static TagID TagIdField (string label, TagID tagID, params GUILayoutOption[] options)
 Draw a TagID Field . More...
 
static TagID TagIdField (GUIContent label, TagID tagID, params GUILayoutOption[] options)
 Draw a TagID Field . More...
 
static void TagIconField (long tagIDValue)
 Draw the icon of a Tag. More...
 
static void TagIconField (TagID tagID)
 Draw the icon of a Tag. More...
 
static void TagIconField (int index)
 Draw the icon of a Tag. More...
 
static void PropertyValueFields (PropertyValue propertyValue, params GUILayoutOption[] options)
 Draw all PropertyValue fields. More...
 
static void PropertyValueFields (SerializedProperty propertyValue, params GUILayoutOption[] options)
 Draw all PropertyValue fields. More...
 
static void PropertyValueSourceField (string label, PropertyValue propertyValue, params GUILayoutOption[] options)
 Draw the source field of a PropertyValue. More...
 
static void PropertyValueSourceField (GUIContent label, PropertyValue propertyValue, params GUILayoutOption[] options)
 Draw the source field of a PropertyValue. More...
 
static void PropertyValueSourceField (string label, PropertyValue propertyValue, List< string > displayedOptions, params GUILayoutOption[] options)
 Draw the source field of a PropertyValue. More...
 
static void PropertyValueSourceField (GUIContent label, PropertyValue propertyValue, List< string > displayedOptions, params GUILayoutOption[] options)
 Draw the source field of a PropertyValue. More...
 
static string PropertyValueSourceField (GUIContent label, string selectedValue, Component component, Tag.ValueType valueType, params GUILayoutOption[] options)
 Draw the source field of a PropertyValue. More...
 
static void TypedValueFields (TypedValue typedValue, params GUILayoutOption[] options)
 Draw a TypedValue fields. More...
 
static void TypedValueFields (SerializedProperty typedValue, params GUILayoutOption[] options)
 Draw a TypedValue fields. More...
 
static void TypedValueField (TypedValue typedValue, params GUILayoutOption[] options)
 Draw a TypedValue field. More...
 
static void TypedValueField (string label, TypedValue typedValue, params GUILayoutOption[] options)
 Draw a TypedValue field. More...
 
static void TypedValueField (GUIContent label, TypedValue typedValue, params GUILayoutOption[] options)
 Draw a TypedValue field. More...
 
static void TypedValueField (SerializedProperty typedValue, params GUILayoutOption[] options)
 Draw a TypedValue field. More...
 
static void TypedValueField (string label, SerializedProperty typedValue, params GUILayoutOption[] options)
 Draw a TypedValue field. More...
 
static void TypedValueField (GUIContent label, SerializedProperty typedValue, params GUILayoutOption[] options)
 Draw a TypedValue field. More...
 
static object TypedValueField (string label, Tag.ValueType valueType, object value, params GUILayoutOption[] options)
 Draw a TypedValue field. More...
 
static object TypedValueField (GUIContent label, Tag.ValueType valueType, object value, params GUILayoutOption[] options)
 Draw a TypedValue field. More...
 
static string StringPopup_WithIcon (Texture2D icon, string label, string selectedString, List< string > displayedOptions, params GUILayoutOption[] options)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (Texture2D icon, GUIContent label, string selectedString, List< string > displayedOptions, params GUILayoutOption[] options)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (GUIContent icon, string label, string selectedString, List< string > displayedOptions, params GUILayoutOption[] options)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (GUIContent icon, GUIContent label, string selectedString, List< string > displayedOptions, params GUILayoutOption[] options)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (Texture2D icon, string label, string selectedString, List< string > displayedOptions, int defaultIndex, params GUILayoutOption[] options)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (Texture2D icon, GUIContent label, string selectedString, List< string > displayedOptions, int defaultIndex, params GUILayoutOption[] options)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (GUIContent icon, string label, string selectedString, List< string > displayedOptions, int defaultIndex, params GUILayoutOption[] options)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (GUIContent icon, GUIContent label, string selectedString, List< string > displayedOptions, int defaultIndex, params GUILayoutOption[] options)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup (string label, string selectedString, List< string > displayedOptions, params GUILayoutOption[] options)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup (GUIContent label, string selectedString, List< string > displayedOptions, params GUILayoutOption[] options)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup (string label, string selectedString, List< string > displayedOptions, int defaultIndex, params GUILayoutOption[] options)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup (GUIContent label, string selectedString, List< string > displayedOptions, int defaultIndex, params GUILayoutOption[] options)
 Draw a Popup field from a selected string and return the new string selected. More...
 

Property Documentation

◆ Warnicon

GUIContent Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.Warnicon
staticget

The unity console Warn icon.

Member Function Documentation

◆ PropertyValueFields() [1/2]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.PropertyValueFields ( PropertyValue  propertyValue,
params GUILayoutOption[]  options 
)
static

Draw all PropertyValue fields.

Parameters
propertyValueThe PropertyValue to draw the fields.
optionsAn optional list of Layout options that specify extra layout properties. It will be applied to all fields except to the Component's one.

◆ PropertyValueFields() [2/2]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.PropertyValueFields ( SerializedProperty  propertyValue,
params GUILayoutOption[]  options 
)
static

Draw all PropertyValue fields.

Parameters
propertyValueThe PropertyValue as a SerializedProperty.
optionsAn optional list of Layout options that specify extra layout properties. It will be applied to all fields.

◆ PropertyValueSourceField() [1/5]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.PropertyValueSourceField ( GUIContent  label,
PropertyValue  propertyValue,
List< string >  displayedOptions,
params GUILayoutOption[]  options 
)
static

Draw the source field of a PropertyValue.

Parameters
labelThe Label of the field.
propertyValueThe PropertyValue to draw the source.
displayedOptionsThe list of options to display.
optionsAn optional list of Layout options that specify extra layout properties.

◆ PropertyValueSourceField() [2/5]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.PropertyValueSourceField ( GUIContent  label,
PropertyValue  propertyValue,
params GUILayoutOption[]  options 
)
static

Draw the source field of a PropertyValue.

Parameters
labelThe Label of the field.
propertyValueThe PropertyValue to draw the source.
optionsAn optional list of Layout options that specify extra layout properties.

◆ PropertyValueSourceField() [3/5]

static string Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.PropertyValueSourceField ( GUIContent  label,
string  selectedValue,
Component  component,
Tag.ValueType  valueType,
params GUILayoutOption[]  options 
)
static

Draw the source field of a PropertyValue.

Parameters
labelThe Label of the field.
selectedValueThe selected value in the field.
componentThe component of the PropertyValue.
valueTypeThe ValueType of the PropertyValue.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new string selected in the field.

◆ PropertyValueSourceField() [4/5]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.PropertyValueSourceField ( string  label,
PropertyValue  propertyValue,
List< string >  displayedOptions,
params GUILayoutOption[]  options 
)
static

Draw the source field of a PropertyValue.

Parameters
labelThe Label of the field.
propertyValueThe PropertyValue to draw the source.
displayedOptionsThe list of options to display.
optionsAn optional list of Layout options that specify extra layout properties.

◆ PropertyValueSourceField() [5/5]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.PropertyValueSourceField ( string  label,
PropertyValue  propertyValue,
params GUILayoutOption[]  options 
)
static

Draw the source field of a PropertyValue.

Parameters
labelThe Label of the field.
propertyValueThe PropertyValue to draw the source.
optionsAn optional list of Layout options that specify extra layout properties.

◆ StringPopup() [1/4]

static string Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.StringPopup ( GUIContent  label,
string  selectedString,
List< string >  displayedOptions,
int  defaultIndex,
params GUILayoutOption[]  options 
)
static

Draw a Popup field from a selected string and return the new string selected.

Parameters
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
defaultIndexThe default index to select if the selected string is not find.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new selected string.

◆ StringPopup() [2/4]

static string Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.StringPopup ( GUIContent  label,
string  selectedString,
List< string >  displayedOptions,
params GUILayoutOption[]  options 
)
static

Draw a Popup field from a selected string and return the new string selected.

Parameters
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new selected string.

◆ StringPopup() [3/4]

static string Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.StringPopup ( string  label,
string  selectedString,
List< string >  displayedOptions,
int  defaultIndex,
params GUILayoutOption[]  options 
)
static

Draw a Popup field from a selected string and return the new string selected.

Parameters
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
defaultIndexThe default index to select if the selected string is not find.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new selected string.

◆ StringPopup() [4/4]

static string Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.StringPopup ( string  label,
string  selectedString,
List< string >  displayedOptions,
params GUILayoutOption[]  options 
)
static

Draw a Popup field from a selected string and return the new string selected.

Parameters
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new selected string.

◆ StringPopup_WithIcon() [1/8]

static string Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.StringPopup_WithIcon ( GUIContent  icon,
GUIContent  label,
string  selectedString,
List< string >  displayedOptions,
int  defaultIndex,
params GUILayoutOption[]  options 
)
static

Draw a Popup field from a selected string and return the new string selected.

Parameters
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
defaultIndexThe default index to select if the selected string is not find.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new selected string.

◆ StringPopup_WithIcon() [2/8]

static string Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.StringPopup_WithIcon ( GUIContent  icon,
GUIContent  label,
string  selectedString,
List< string >  displayedOptions,
params GUILayoutOption[]  options 
)
static

Draw a Popup field from a selected string and return the new string selected.

Parameters
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new selected string.

◆ StringPopup_WithIcon() [3/8]

static string Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.StringPopup_WithIcon ( GUIContent  icon,
string  label,
string  selectedString,
List< string >  displayedOptions,
int  defaultIndex,
params GUILayoutOption[]  options 
)
static

Draw a Popup field from a selected string and return the new string selected.

Parameters
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
defaultIndexThe default index to select if the selected string is not find.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new selected string.

◆ StringPopup_WithIcon() [4/8]

static string Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.StringPopup_WithIcon ( GUIContent  icon,
string  label,
string  selectedString,
List< string >  displayedOptions,
params GUILayoutOption[]  options 
)
static

Draw a Popup field from a selected string and return the new string selected.

Parameters
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new selected string.

◆ StringPopup_WithIcon() [5/8]

static string Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.StringPopup_WithIcon ( Texture2D  icon,
GUIContent  label,
string  selectedString,
List< string >  displayedOptions,
int  defaultIndex,
params GUILayoutOption[]  options 
)
static

Draw a Popup field from a selected string and return the new string selected.

Parameters
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new selected string.

◆ StringPopup_WithIcon() [6/8]

static string Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.StringPopup_WithIcon ( Texture2D  icon,
GUIContent  label,
string  selectedString,
List< string >  displayedOptions,
params GUILayoutOption[]  options 
)
static

Draw a Popup field from a selected string and return the new string selected.

Parameters
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new selected string.

◆ StringPopup_WithIcon() [7/8]

static string Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.StringPopup_WithIcon ( Texture2D  icon,
string  label,
string  selectedString,
List< string >  displayedOptions,
int  defaultIndex,
params GUILayoutOption[]  options 
)
static

Draw a Popup field from a selected string and return the new string selected.

Parameters
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new selected string.

◆ StringPopup_WithIcon() [8/8]

static string Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.StringPopup_WithIcon ( Texture2D  icon,
string  label,
string  selectedString,
List< string >  displayedOptions,
params GUILayoutOption[]  options 
)
static

Draw a Popup field from a selected string and return the new string selected.

Parameters
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new selected string.

◆ TagIconField() [1/3]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIconField ( int  index)
static

Draw the icon of a Tag.

Parameters
indexThe index of the Tag, in Tags.TagsList list, to draw.

◆ TagIconField() [2/3]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIconField ( long  tagIDValue)
static

Draw the icon of a Tag.

Parameters
tagIDValueThe TagID.Value of the Tag to draw.

◆ TagIconField() [3/3]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIconField ( TagID  tagID)
static

Draw the icon of a Tag.

Parameters
tagIDThe TagID of the Tag to draw.

◆ TagIdField() [1/6]

static TagID Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIdField ( GUIContent  label,
long  tagIDValue,
params GUILayoutOption[]  options 
)
static

Draw a TagID Field .

Parameters
labelThe label to draw between the picture and the TagID Field. /!\ WARNING : Only the text will be use.
tagIDValueThe TagID.Value of the Tag to draw.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new Tag selected in the field.

◆ TagIdField() [2/6]

static TagID Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIdField ( GUIContent  label,
TagID  tagID,
params GUILayoutOption[]  options 
)
static

Draw a TagID Field .

Parameters
labelThe label to draw between the picture and the TagID Field.
tagIDThe TagID of the Tag to draw.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new Tag selected in the field.

◆ TagIdField() [3/6]

static TagID Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIdField ( long  tagIDValue,
params GUILayoutOption[]  options 
)
static

Draw a TagID Field .

Parameters
tagIDValueThe TagID.Value of the Tag to draw.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new Tag selected in the field.

◆ TagIdField() [4/6]

static TagID Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIdField ( string  label,
long  tagIDValue,
params GUILayoutOption[]  options 
)
static

Draw a TagID Field .

Parameters
labelThe label to draw between the picture and the TagID Field.
tagIDValueThe TagID.Value of the Tag to draw.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new Tag selected in the field.

◆ TagIdField() [5/6]

static TagID Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIdField ( string  label,
TagID  tagID,
params GUILayoutOption[]  options 
)
static

Draw a TagID Field .

Parameters
labelThe label to draw between the picture and the TagID Field.
tagIDThe TagID of the Tag to draw.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new Tag selected in the field.

◆ TagIdField() [6/6]

static TagID Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIdField ( TagID  tagID,
params GUILayoutOption[]  options 
)
static

Draw a TagID Field .

Parameters
tagIDThe TagID of the Tag to draw.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new Tag selected in the field.

◆ TagIdField_WithIcon() [1/6]

static TagID Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIdField_WithIcon ( GUIContent  label,
long  tagIDValue,
params GUILayoutOption[]  options 
)
static

Draw a TagID Field and it's icon.

Parameters
labelThe label to draw between the picture and the TagID Field. /!\ WARNING : Only the text will be use.
tagIDValueThe TagID.Value of the Tag to draw.

param name="options">An optional list of Layout options that specify extra layout properties. These options will only be apply to the field and not on the picture.

Returns
The new Tag selected in the field.

◆ TagIdField_WithIcon() [2/6]

static TagID Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIdField_WithIcon ( GUIContent  label,
TagID  tagID,
params GUILayoutOption[]  options 
)
static

Draw a TagID Field and it's icon .

Parameters
labelThe label to draw between the picture and the TagID Field.
tagIDThe TagID of the Tag to draw.
displayedOptionThe Tag list to search in.
optionsAn optional list of Layout options that specify extra layout properties. These options will only be apply to the field and not on the picture.
Returns
The new Tag selected in the field.

◆ TagIdField_WithIcon() [3/6]

static TagID Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIdField_WithIcon ( long  tagIDValue,
params GUILayoutOption[]  options 
)
static

Draw a TagID Field and it's icon.

Parameters
tagIDValueThe TagID.Value of the Tag to draw.

param name="options">An optional list of Layout options that specify extra layout properties. These options will only be apply to the field and not on the picture.

Returns
The new Tag selected in the field.

◆ TagIdField_WithIcon() [4/6]

static TagID Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIdField_WithIcon ( string  label,
long  tagIDValue,
params GUILayoutOption[]  options 
)
static

Draw a TagID Field and it's icon.

Parameters
labelThe label to draw between the picture and the TagID Field. /!\ WARNING : Only the text will be use.
tagIDValueThe TagID.Value of the Tag to draw.

param name="options">An optional list of Layout options that specify extra layout properties. These options will only be apply to the field and not on the picture.

Returns
The new Tag selected in the field.

◆ TagIdField_WithIcon() [5/6]

static TagID Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIdField_WithIcon ( string  label,
TagID  tagID,
params GUILayoutOption[]  options 
)
static

Draw a TagID Field and it's icon.

Parameters
labelThe label to draw between the picture and the TagID Field.
tagIDThe TagID of the Tag to draw.
optionsAn optional list of Layout options that specify extra layout properties. These options will only be apply to the field and not on the picture.
Returns
The new Tag selected in the field.

◆ TagIdField_WithIcon() [6/6]

static TagID Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIdField_WithIcon ( TagID  tagID,
params GUILayoutOption[]  options 
)
static

Draw a TagID Field and it's icon.

Parameters
tagIDThe TagID of the Tag to draw.
optionsAn optional list of Layout options that specify extra layout properties. These options will only be apply to the field and not on the picture.
Returns
The new Tag selected in the field.

◆ TypedValueField() [1/8]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TypedValueField ( GUIContent  label,
SerializedProperty  typedValue,
params GUILayoutOption[]  options 
)
static

Draw a TypedValue field.

If TypedValue.Value had a bad type : the new TypedValue will have the default value for the given TypedValue.ValueType

Parameters
labelThe label of the field.
typedValueThe TypedValue to draw as a SerializedProperty.
optionsAn optional list of Layout options that specify extra layout properties.

◆ TypedValueField() [2/8]

static object Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TypedValueField ( GUIContent  label,
Tag.ValueType  valueType,
object  value,
params GUILayoutOption[]  options 
)
static

Draw a TypedValue field.

Parameters
labelThe label of the field.
valueTypeThe type of the value as a Tag.ValueType.
valueThe object to draw.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new value. If value had a bad type : return the default value for the given ValueType.

◆ TypedValueField() [3/8]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TypedValueField ( GUIContent  label,
TypedValue  typedValue,
params GUILayoutOption[]  options 
)
static

Draw a TypedValue field.

If TypedValue.Value had a bad type : the new TypedValue will have the default value for the given TypedValue.ValueType

Parameters
labelThe label of the field.
typedValueThe TypedValue to draw.
optionsAn optional list of Layout options that specify extra layout properties.

◆ TypedValueField() [4/8]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TypedValueField ( SerializedProperty  typedValue,
params GUILayoutOption[]  options 
)
static

Draw a TypedValue field.

If TypedValue.Value had a bad type : the new TypedValue will have the default value for the given TypedValue.ValueType

Parameters
typedValueThe TypedValue to draw as a SerializedProperty.
optionsAn optional list of Layout options that specify extra layout properties.

◆ TypedValueField() [5/8]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TypedValueField ( string  label,
SerializedProperty  typedValue,
params GUILayoutOption[]  options 
)
static

Draw a TypedValue field.

If TypedValue.Value had a bad type : the new TypedValue will have the default value for the given TypedValue.ValueType

Parameters
labelThe label of the field.
typedValueThe TypedValue to draw as a SerializedProperty.
optionsAn optional list of Layout options that specify extra layout properties.

◆ TypedValueField() [6/8]

static object Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TypedValueField ( string  label,
Tag.ValueType  valueType,
object  value,
params GUILayoutOption[]  options 
)
static

Draw a TypedValue field.

Parameters
labelThe label of the field.
valueTypeThe type of the value as a Tag.ValueType.
valueThe object to draw.
optionsAn optional list of Layout options that specify extra layout properties.
Returns
The new value. If value had a bad type : return the default value for the given ValueType.

◆ TypedValueField() [7/8]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TypedValueField ( string  label,
TypedValue  typedValue,
params GUILayoutOption[]  options 
)
static

Draw a TypedValue field.

If TypedValue.Value had a bad type : the new TypedValue will have the default value for the given TypedValue.ValueType

Parameters
labelThe label of the field.
typedValueThe TypedValue to draw.
optionsAn optional list of Layout options that specify extra layout properties.

◆ TypedValueField() [8/8]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TypedValueField ( TypedValue  typedValue,
params GUILayoutOption[]  options 
)
static

Draw a TypedValue field.

If TypedValue.Value had a bad type : the new TypedValue will have the default value for the given TypedValue.ValueType

Parameters
typedValueThe TypedValue to draw.
optionsAn optional list of Layout options that specify extra layout properties.

◆ TypedValueFields() [1/2]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TypedValueFields ( SerializedProperty  typedValue,
params GUILayoutOption[]  options 
)
static

Draw a TypedValue fields.

Parameters
typedValueThe TypedValue to draw as SerializedProperty.
optionsAn optional list of Layout options that specify extra layout properties.

◆ TypedValueFields() [2/2]

static void Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TypedValueFields ( TypedValue  typedValue,
params GUILayoutOption[]  options 
)
static

Draw a TypedValue fields.

Parameters
typedValueThe TypedValue to draw.
optionsAn optional list of Layout options that specify extra layout properties.

Member Data Documentation

◆ MinInlineVectorFieldWidth

int Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.MinInlineVectorFieldWidth = 416
static

Min width to be able to draw a Vector field in a single line.

◆ SingleLineIconWidth

float Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.SingleLineIconWidth = EditorGUIUtility.singleLineHeight - 2
static

With for a single line Tag icon field.

◆ TagIconWidth

float Nectunia.PropertyInterface.EditorGUILayout_PropertyInterface.TagIconWidth = EditorGUIUtility.singleLineHeight * 2
static

With for a Tag icon field.