PropertyInterface
Nectunia.PropertyInterface.EditorGUI_PropertyInterface Class Reference

Detailed Description

Interface for PropertyInterface gui with manual positionning

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 (Rect position, long tagIDValue, GUIStyle style=null)
 Draw a TagID Field and it's icon. More...
 
static TagID TagIdField_WithIcon (Rect position, GUIContent label, long tagIDValue, GUIStyle style=null)
 Draw a TagID Field and it's icon. More...
 
static TagID TagIdField_WithIcon (Rect position, string label, long tagIDValue, GUIStyle style=null)
 Draw a TagID Field and it's icon. More...
 
static TagID TagIdField_WithIcon (Rect position, TagID tagID, GUIStyle style=null)
 Draw a TagID Field and it's icon. More...
 
static TagID TagIdField_WithIcon (Rect position, GUIContent label, TagID tagID, GUIStyle style=null)
 Draw a TagID Field and it's icon. More...
 
static TagID TagIdField_WithIcon (Rect position, string label, TagID tagID, GUIStyle style=null)
 Draw a TagID Field and it's icon . More...
 
static TagID TagIdField (Rect position, long tagIDValue, GUIStyle style=null)
 Draw a TagID Field . More...
 
static TagID TagIdField (Rect position, GUIContent label, long tagIDValue, GUIStyle style=null)
 Draw a TagID Field . More...
 
static TagID TagIdField (Rect position, string label, long tagIDValue, GUIStyle style=null)
 Draw a TagID Field . More...
 
static TagID TagIdField (Rect position, TagID tagID, GUIStyle style=null)
 Draw a TagID Field . More...
 
static TagID TagIdField (Rect position, GUIContent label, TagID tagID, GUIStyle style=null)
 Draw a TagID Field . More...
 
static TagID TagIdField (Rect position, string label, TagID tagID, GUIStyle style=null)
 Draw a TagID Field . More...
 
static void TagIconField (Rect position, long tagIDValue)
 Draw the icon of a Tag. More...
 
static void TagIconField (Rect position, TagID tagID)
 Draw the icon of a Tag. More...
 
static void TagIconField (Rect position, int index)
 Draw the icon of a Tag. More...
 
static float GetPropertyValueHeight (PropertyValue propertyValue)
 Calcul the height need to draw the PropertyValue fields. More...
 
static float GetPropertyValueHeight (SerializedProperty propertyValue)
 Calcul the height need to draw the PropertyValue fields. More...
 
static void PropertyValueFields (Rect position, PropertyValue propertyValue)
 Draw all PropertyValue fields. More...
 
static void PropertyValueFields (Rect position, SerializedProperty propertyValue)
 Draw all PropertyValue fields. More...
 
static void PropertyValueSourceField (Rect position, string label, PropertyValue propertyValue, GUIStyle style=null)
 Draw the source field of a PropertyValue. More...
 
static void PropertyValueSourceField (Rect position, GUIContent label, PropertyValue propertyValue, GUIStyle style=null)
 Draw the source field of a PropertyValue. More...
 
static void PropertyValueSourceField (Rect position, string label, PropertyValue propertyValue, List< string > displayedOptions, GUIStyle style=null)
 Draw the source field of a PropertyValue. More...
 
static void PropertyValueSourceField (Rect position, GUIContent label, PropertyValue propertyValue, List< string > displayedOptions, GUIStyle style=null)
 Draw the source field of a PropertyValue. More...
 
static string PropertyValueSourceField (Rect position, GUIContent label, string selectedValue, Component component, Tag.ValueType valueType, GUIStyle style=null)
 Draw the source field of a PropertyValue. More...
 
static float GetTypedValueHeight (TypedValue typedValue)
 Calcul the height need to draw the TypedValue fields. More...
 
static float GetTypedValueHeight (SerializedProperty typedValue)
 Calcul the height need to draw the TypedValue fields. More...
 
static void TypedValueFields (Rect position, TypedValue typedValue)
 Draw a TypedValue fields. More...
 
static void TypedValueFields (Rect position, SerializedProperty typedValue)
 Draw a TypedValue fields. More...
 
static void TypedValueField (Rect position, TypedValue typedValue, GUIStyle style=null)
 Draw a TypedValue field. More...
 
static void TypedValueField (Rect position, string label, TypedValue typedValue, GUIStyle style=null)
 Draw a TypedValue field. More...
 
static void TypedValueField (Rect position, GUIContent label, TypedValue typedValue, GUIStyle style=null)
 Draw a TypedValue field. More...
 
static void TypedValueField (Rect position, SerializedProperty typedValue, GUIStyle style=null)
 Draw a TypedValue field. More...
 
static void TypedValueField (Rect position, string label, SerializedProperty typedValue, GUIStyle style=null)
 Draw a TypedValue field. More...
 
static void TypedValueField (Rect position, GUIContent label, SerializedProperty typedValue, GUIStyle style=null)
 Draw a TypedValue field. More...
 
static object TypedValueField (Rect position, string label, Tag.ValueType valueType, object value, GUIStyle style=null)
 Draw a TypedValue field. More...
 
static object TypedValueField (Rect position, GUIContent label, Tag.ValueType valueType, object value, GUIStyle style=null)
 Draw a TypedValue field. More...
 
static string StringPopup_WithIcon (Rect position, Texture2D icon, string label, string selectedString, List< string > displayedOptions, GUIStyle style=null)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (Rect position, Texture2D icon, GUIContent label, string selectedString, List< string > displayedOptions, GUIStyle style=null)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (Rect position, GUIContent icon, string label, string selectedString, List< string > displayedOptions, GUIStyle style=null)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (Rect position, GUIContent icon, GUIContent label, string selectedString, List< string > displayedOptions, GUIStyle style=null)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (Rect position, Texture2D icon, string label, string selectedString, List< string > displayedOptions, int defaultIndex, GUIStyle style=null)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (Rect position, Texture2D icon, GUIContent label, string selectedString, List< string > displayedOptions, int defaultIndex, GUIStyle style=null)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (Rect position, GUIContent icon, GUIContent label, string selectedString, List< string > displayedOptions, int defaultIndex, GUIStyle style=null)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup_WithIcon (Rect position, GUIContent icon, string label, string selectedString, List< string > displayedOptions, int defaultIndex, GUIStyle style=null)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup (Rect position, GUIContent label, string selectedString, List< string > displayedOptions, GUIStyle style=null)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup (Rect position, string label, string selectedString, List< string > displayedOptions, GUIStyle style=null)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup (Rect position, GUIContent label, string selectedString, List< string > displayedOptions, int defaultIndex, GUIStyle style=null)
 Draw a Popup field from a selected string and return the new string selected. More...
 
static string StringPopup (Rect position, string label, string selectedString, List< string > displayedOptions, int defaultIndex, GUIStyle style=null)
 Draw a Popup field from a selected string and return the new string selected. More...
 

Property Documentation

◆ Warnicon

GUIContent Nectunia.PropertyInterface.EditorGUI_PropertyInterface.Warnicon
staticget

The unity console Warn icon.

Member Function Documentation

◆ GetPropertyValueHeight() [1/2]

static float Nectunia.PropertyInterface.EditorGUI_PropertyInterface.GetPropertyValueHeight ( PropertyValue  propertyValue)
static

Calcul the height need to draw the PropertyValue fields.

Parameters
propertyValueThe PropertyValue.
Returns
The height need to draw the PropertyValue fields.

◆ GetPropertyValueHeight() [2/2]

static float Nectunia.PropertyInterface.EditorGUI_PropertyInterface.GetPropertyValueHeight ( SerializedProperty  propertyValue)
static

Calcul the height need to draw the PropertyValue fields.

Parameters
propertyValueThe PropertyValue as a SerializedProperty.
Returns
The height need to draw the PropertyValue fields.

◆ GetTypedValueHeight() [1/2]

static float Nectunia.PropertyInterface.EditorGUI_PropertyInterface.GetTypedValueHeight ( SerializedProperty  typedValue)
static

Calcul the height need to draw the TypedValue fields.

Parameters
typedValueThe TypedValue as a SerializedProperty.
Returns
The height need to draw the TypedValue fields.

◆ GetTypedValueHeight() [2/2]

static float Nectunia.PropertyInterface.EditorGUI_PropertyInterface.GetTypedValueHeight ( TypedValue  typedValue)
static

Calcul the height need to draw the TypedValue fields.

Parameters
typedValueThe TypedValue.
Returns
The height need to draw the TypedValue fields.

◆ PropertyValueFields() [1/2]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.PropertyValueFields ( Rect  position,
PropertyValue  propertyValue 
)
static

Draw all PropertyValue fields.

Parameters
positionRectangle on the screen to use for the field.
propertyValueThe PropertyValue.

◆ PropertyValueFields() [2/2]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.PropertyValueFields ( Rect  position,
SerializedProperty  propertyValue 
)
static

Draw all PropertyValue fields.

Parameters
positionRectangle on the screen to use for the field.
propertyValueThe PropertyValue as a SerializedProperty.

◆ PropertyValueSourceField() [1/5]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.PropertyValueSourceField ( Rect  position,
GUIContent  label,
PropertyValue  propertyValue,
GUIStyle  style = null 
)
static

Draw the source field of a PropertyValue.

Parameters
positionRectangle on the screen to use for the field.
labelThe Label of the field.
propertyValueThe PropertyValue to draw the source.
styleOptional GUIStyle.

◆ PropertyValueSourceField() [2/5]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.PropertyValueSourceField ( Rect  position,
GUIContent  label,
PropertyValue  propertyValue,
List< string >  displayedOptions,
GUIStyle  style = null 
)
static

Draw the source field of a PropertyValue.

Parameters
positionRectangle on the screen to use for the field.
labelThe Label of the field.
propertyValueThe PropertyValue to draw the source.
displayedOptionsThe list of options to display.
styleOptional GUIStyle.

◆ PropertyValueSourceField() [3/5]

static string Nectunia.PropertyInterface.EditorGUI_PropertyInterface.PropertyValueSourceField ( Rect  position,
GUIContent  label,
string  selectedValue,
Component  component,
Tag.ValueType  valueType,
GUIStyle  style = null 
)
static

Draw the source field of a PropertyValue.

Parameters
positionRectangle on the screen to use for the field.
labelThe Label of the field.
selectedValueThe selected value in the field.
componentThe component of the PropertyValue.
valueTypeThe ValueType of the PropertyValue.
styleOptional GUIStyle.
Returns
The new string selected in the field.

◆ PropertyValueSourceField() [4/5]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.PropertyValueSourceField ( Rect  position,
string  label,
PropertyValue  propertyValue,
GUIStyle  style = null 
)
static

Draw the source field of a PropertyValue.

Parameters
positionRectangle on the screen to use for the field.
labelThe Label of the field.
propertyValueThe PropertyValue to draw the source.
styleOptional GUIStyle.

◆ PropertyValueSourceField() [5/5]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.PropertyValueSourceField ( Rect  position,
string  label,
PropertyValue  propertyValue,
List< string >  displayedOptions,
GUIStyle  style = null 
)
static

Draw the source field of a PropertyValue.

Parameters
positionRectangle on the screen to use for the field.
labelThe Label of the field.
propertyValueThe PropertyValue to draw the source.
displayedOptionsThe list of options to display.
styleOptional GUIStyle.

◆ StringPopup() [1/4]

static string Nectunia.PropertyInterface.EditorGUI_PropertyInterface.StringPopup ( Rect  position,
GUIContent  label,
string  selectedString,
List< string >  displayedOptions,
GUIStyle  style = null 
)
static

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

Parameters
positionRectangle on the screen to use for the field.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
styleOptional GUIStyle.
Returns
The new selected string.

◆ StringPopup() [2/4]

static string Nectunia.PropertyInterface.EditorGUI_PropertyInterface.StringPopup ( Rect  position,
GUIContent  label,
string  selectedString,
List< string >  displayedOptions,
int  defaultIndex,
GUIStyle  style = null 
)
static

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

Parameters
positionRectangle on the screen to use for the field.
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.
styleOptional GUIStyle.
Returns
The new selected string.

◆ StringPopup() [3/4]

static string Nectunia.PropertyInterface.EditorGUI_PropertyInterface.StringPopup ( Rect  position,
string  label,
string  selectedString,
List< string >  displayedOptions,
GUIStyle  style = null 
)
static

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

Parameters
positionRectangle on the screen to use for the field.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
styleOptional GUIStyle.
Returns
The new selected string.

◆ StringPopup() [4/4]

static string Nectunia.PropertyInterface.EditorGUI_PropertyInterface.StringPopup ( Rect  position,
string  label,
string  selectedString,
List< string >  displayedOptions,
int  defaultIndex,
GUIStyle  style = null 
)
static

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

Parameters
positionRectangle on the screen to use for the field.
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.
styleOptional GUIStyle.
Returns
The new selected string.

◆ StringPopup_WithIcon() [1/8]

static string Nectunia.PropertyInterface.EditorGUI_PropertyInterface.StringPopup_WithIcon ( Rect  position,
GUIContent  icon,
GUIContent  label,
string  selectedString,
List< string >  displayedOptions,
GUIStyle  style = null 
)
static

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

Parameters
positionRectangle on the screen to use for the field.
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new selected string.

◆ StringPopup_WithIcon() [2/8]

static string Nectunia.PropertyInterface.EditorGUI_PropertyInterface.StringPopup_WithIcon ( Rect  position,
GUIContent  icon,
GUIContent  label,
string  selectedString,
List< string >  displayedOptions,
int  defaultIndex,
GUIStyle  style = null 
)
static

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

Parameters
positionRectangle on the screen to use for the field.
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.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new selected string.

◆ StringPopup_WithIcon() [3/8]

static string Nectunia.PropertyInterface.EditorGUI_PropertyInterface.StringPopup_WithIcon ( Rect  position,
GUIContent  icon,
string  label,
string  selectedString,
List< string >  displayedOptions,
GUIStyle  style = null 
)
static

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

Parameters
positionRectangle on the screen to use for the field.
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new selected string.

◆ StringPopup_WithIcon() [4/8]

static string Nectunia.PropertyInterface.EditorGUI_PropertyInterface.StringPopup_WithIcon ( Rect  position,
GUIContent  icon,
string  label,
string  selectedString,
List< string >  displayedOptions,
int  defaultIndex,
GUIStyle  style = null 
)
static

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

Parameters
positionRectangle on the screen to use for the field.
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.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new selected string.

◆ StringPopup_WithIcon() [5/8]

static string Nectunia.PropertyInterface.EditorGUI_PropertyInterface.StringPopup_WithIcon ( Rect  position,
Texture2D  icon,
GUIContent  label,
string  selectedString,
List< string >  displayedOptions,
GUIStyle  style = null 
)
static

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

Parameters
positionRectangle on the screen to use for the field.
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new selected string.

◆ StringPopup_WithIcon() [6/8]

static string Nectunia.PropertyInterface.EditorGUI_PropertyInterface.StringPopup_WithIcon ( Rect  position,
Texture2D  icon,
GUIContent  label,
string  selectedString,
List< string >  displayedOptions,
int  defaultIndex,
GUIStyle  style = null 
)
static

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

Parameters
positionRectangle on the screen to use for the field.
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new selected string.

◆ StringPopup_WithIcon() [7/8]

static string Nectunia.PropertyInterface.EditorGUI_PropertyInterface.StringPopup_WithIcon ( Rect  position,
Texture2D  icon,
string  label,
string  selectedString,
List< string >  displayedOptions,
GUIStyle  style = null 
)
static

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

Parameters
positionRectangle on the screen to use for the field.
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new selected string.

◆ StringPopup_WithIcon() [8/8]

static string Nectunia.PropertyInterface.EditorGUI_PropertyInterface.StringPopup_WithIcon ( Rect  position,
Texture2D  icon,
string  label,
string  selectedString,
List< string >  displayedOptions,
int  defaultIndex,
GUIStyle  style = null 
)
static

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

Parameters
positionRectangle on the screen to use for the field.
iconThe Icon to draw before the label.
labelThe label of the field.
selectedStringThe selected string.
displayedOptionsThe list of options to display.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new selected string.

◆ TagIconField() [1/3]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIconField ( Rect  position,
int  index 
)
static

Draw the icon of a Tag.

Parameters
positionRectangle on the screen to use for the field.
indexThe index of the Tag, in Tags.TagsList list, to draw.

◆ TagIconField() [2/3]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIconField ( Rect  position,
long  tagIDValue 
)
static

Draw the icon of a Tag.

Parameters
positionRectangle on the screen to use for the field.
tagIDValueThe TagID.Value of the Tag to draw.

◆ TagIconField() [3/3]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIconField ( Rect  position,
TagID  tagID 
)
static

Draw the icon of a Tag.

Parameters
positionRectangle on the screen to use for the field.
tagIDThe TagID of the Tag to draw.

◆ TagIdField() [1/6]

static TagID Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIdField ( Rect  position,
GUIContent  label,
long  tagIDValue,
GUIStyle  style = null 
)
static

Draw a TagID Field .

Parameters
positionRectangle on the screen to use for the field.
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.
styleOptional GUIStyle.
Returns
The new Tag selected in the field.

◆ TagIdField() [2/6]

static TagID Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIdField ( Rect  position,
GUIContent  label,
TagID  tagID,
GUIStyle  style = null 
)
static

Draw a TagID Field .

Parameters
positionRectangle on the screen to use for the field.
labelThe label to draw between the picture and the TagID Field. /!\ WARNING : Only the text will be use.
tagIDThe TagID of the Tag to draw.
styleOptional GUIStyle.
Returns
The new Tag selected in the field.

◆ TagIdField() [3/6]

static TagID Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIdField ( Rect  position,
long  tagIDValue,
GUIStyle  style = null 
)
static

Draw a TagID Field .

Parameters
positionRectangle on the screen to use for the field.
tagIDValueThe TagID.Value of the Tag to draw.
styleOptional GUIStyle.
Returns
The new Tag selected in the field.

◆ TagIdField() [4/6]

static TagID Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIdField ( Rect  position,
string  label,
long  tagIDValue,
GUIStyle  style = null 
)
static

Draw a TagID Field .

Parameters
positionRectangle on the screen to use for the field.
labelThe label to draw between the picture and the TagID Field.
tagIDValueThe TagID.Value of the Tag to draw.
styleOptional GUIStyle.
Returns
The new Tag selected in the field.

◆ TagIdField() [5/6]

static TagID Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIdField ( Rect  position,
string  label,
TagID  tagID,
GUIStyle  style = null 
)
static

Draw a TagID Field .

Parameters
positionRectangle on the screen to use for the field.
labelThe label to draw between the picture and the TagID Field.
tagIDThe TagID of the Tag to draw.
styleOptional GUIStyle.
Returns
The new Tag selected in the field.

◆ TagIdField() [6/6]

static TagID Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIdField ( Rect  position,
TagID  tagID,
GUIStyle  style = null 
)
static

Draw a TagID Field .

Parameters
positionRectangle on the screen to use for the field.
tagIDThe TagID of the Tag to draw.
styleOptional GUIStyle.
Returns
The new Tag selected in the field.

◆ TagIdField_WithIcon() [1/6]

static TagID Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIdField_WithIcon ( Rect  position,
GUIContent  label,
long  tagIDValue,
GUIStyle  style = null 
)
static

Draw a TagID Field and it's icon.

Parameters
positionRectangle on the screen to use for the field.
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.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new Tag selected in the field.

◆ TagIdField_WithIcon() [2/6]

static TagID Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIdField_WithIcon ( Rect  position,
GUIContent  label,
TagID  tagID,
GUIStyle  style = null 
)
static

Draw a TagID Field and it's icon.

Parameters
positionRectangle on the screen to use for the field.
labelThe label to draw between the picture and the TagID Field. /!\ WARNING : Only the text will be use.
tagIDThe TagID of the Tag to draw.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new Tag selected in the field.

◆ TagIdField_WithIcon() [3/6]

static TagID Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIdField_WithIcon ( Rect  position,
long  tagIDValue,
GUIStyle  style = null 
)
static

Draw a TagID Field and it's icon.

Parameters
positionRectangle on the screen to use for the field.
tagIDValueThe TagID.Value of the Tag to draw.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new Tag selected in the field.

◆ TagIdField_WithIcon() [4/6]

static TagID Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIdField_WithIcon ( Rect  position,
string  label,
long  tagIDValue,
GUIStyle  style = null 
)
static

Draw a TagID Field and it's icon.

Parameters
positionRectangle on the screen to use for the field.
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.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new Tag selected in the field.

◆ TagIdField_WithIcon() [5/6]

static TagID Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIdField_WithIcon ( Rect  position,
string  label,
TagID  tagID,
GUIStyle  style = null 
)
static

Draw a TagID Field and it's icon .

Parameters
positionRectangle on the screen to use for the field.
labelThe label to draw between the picture and the TagID Field.
tagIDThe TagID of the Tag to draw.
displayedOptionThe Tag list to search in.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new Tag selected in the field.

◆ TagIdField_WithIcon() [6/6]

static TagID Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TagIdField_WithIcon ( Rect  position,
TagID  tagID,
GUIStyle  style = null 
)
static

Draw a TagID Field and it's icon.

Parameters
positionRectangle on the screen to use for the field.
tagIDThe TagID of the Tag to draw.
styleOptional GUIStyle. This style will only be apply to the field and not on the icon.
Returns
The new Tag selected in the field.

◆ TypedValueField() [1/8]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TypedValueField ( Rect  position,
GUIContent  label,
SerializedProperty  typedValue,
GUIStyle  style = null 
)
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
positionRectangle on the screen to use for the field.
labelThe label of the field.
typedValueThe TypedValue to draw as a SerializedProperty.
styleOptional GUIStyle. /!\ This may not be apply depend on ValueType.

◆ TypedValueField() [2/8]

static object Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TypedValueField ( Rect  position,
GUIContent  label,
Tag.ValueType  valueType,
object  value,
GUIStyle  style = null 
)
static

Draw a TypedValue field.

Parameters
positionRectangle on the screen to use for the field.
labelThe label of the field.
valueTypeThe type of the value as a Tag.ValueType.
valueThe object to draw.
styleOptional GUIStyle. /!\ This may not be apply depend on ValueType.
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.EditorGUI_PropertyInterface.TypedValueField ( Rect  position,
GUIContent  label,
TypedValue  typedValue,
GUIStyle  style = null 
)
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
positionRectangle on the screen to use for the field.
labelThe label of the field.
typedValueThe TypedValue to draw.
styleOptional GUIStyle. /!\ This may not be apply depend on ValueType.

◆ TypedValueField() [4/8]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TypedValueField ( Rect  position,
SerializedProperty  typedValue,
GUIStyle  style = null 
)
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
positionRectangle on the screen to use for the field.
typedValueThe TypedValue to draw as a SerializedProperty.
styleOptional GUIStyle. /!\ This may not be apply depend on ValueType.

◆ TypedValueField() [5/8]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TypedValueField ( Rect  position,
string  label,
SerializedProperty  typedValue,
GUIStyle  style = null 
)
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
positionRectangle on the screen to use for the field.
labelThe label of the field.
typedValueThe TypedValue to draw as a SerializedProperty.
styleOptional GUIStyle. /!\ This may not be apply depend on ValueType.

◆ TypedValueField() [6/8]

static object Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TypedValueField ( Rect  position,
string  label,
Tag.ValueType  valueType,
object  value,
GUIStyle  style = null 
)
static

Draw a TypedValue field.

Parameters
positionRectangle on the screen to use for the field.
labelThe label of the field.
valueTypeThe type of the value as a Tag.ValueType.
valueThe object to draw.
styleOptional GUIStyle. /!\ This may not be apply depend on ValueType.
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.EditorGUI_PropertyInterface.TypedValueField ( Rect  position,
string  label,
TypedValue  typedValue,
GUIStyle  style = null 
)
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
positionRectangle on the screen to use for the field.
labelThe label of the field.
typedValueThe TypedValue to draw.
styleOptional GUIStyle. /!\ This may not be apply depend on ValueType.

◆ TypedValueField() [8/8]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TypedValueField ( Rect  position,
TypedValue  typedValue,
GUIStyle  style = null 
)
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
positionRectangle on the screen to use for the field.
typedValueThe TypedValue to draw.
styleOptional GUIStyle. /!\ This may not be apply depend on ValueType.

◆ TypedValueFields() [1/2]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TypedValueFields ( Rect  position,
SerializedProperty  typedValue 
)
static

Draw a TypedValue fields.

Parameters
positionRectangle on the screen to use for the fields.
typedValueThe TypedValue to draw as SerializedProperty.

◆ TypedValueFields() [2/2]

static void Nectunia.PropertyInterface.EditorGUI_PropertyInterface.TypedValueFields ( Rect  position,
TypedValue  typedValue 
)
static

Draw a TypedValue fields.

Parameters
positionRectangle on the screen to use for the fields.
typedValueThe TypedValue to draw.

Member Data Documentation

◆ MinInlineVectorFieldWidth

int Nectunia.PropertyInterface.EditorGUI_PropertyInterface.MinInlineVectorFieldWidth = 416
static

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

◆ SingleLineIconWidth

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

With for a single line Tag icon field.

◆ TagIconWidth

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

With for a Tag icon field.