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... | |
|
staticget |
The unity console Warn icon.
|
static |
Calcul the height need to draw the PropertyValue fields.
propertyValue | The PropertyValue. |
|
static |
Calcul the height need to draw the PropertyValue fields.
propertyValue | The PropertyValue as a SerializedProperty. |
|
static |
Calcul the height need to draw the TypedValue fields.
typedValue | The TypedValue as a SerializedProperty. |
|
static |
Calcul the height need to draw the TypedValue fields.
typedValue | The TypedValue. |
|
static |
Draw all PropertyValue fields.
position | Rectangle on the screen to use for the field. |
propertyValue | The PropertyValue. |
|
static |
Draw all PropertyValue fields.
position | Rectangle on the screen to use for the field. |
propertyValue | The PropertyValue as a SerializedProperty. |
|
static |
Draw the source field of a PropertyValue.
position | Rectangle on the screen to use for the field. |
label | The Label of the field. |
propertyValue | The PropertyValue to draw the source. |
style | Optional GUIStyle. |
|
static |
Draw the source field of a PropertyValue.
position | Rectangle on the screen to use for the field. |
label | The Label of the field. |
propertyValue | The PropertyValue to draw the source. |
displayedOptions | The list of options to display. |
style | Optional GUIStyle. |
|
static |
Draw the source field of a PropertyValue.
position | Rectangle on the screen to use for the field. |
label | The Label of the field. |
selectedValue | The selected value in the field. |
component | The component of the PropertyValue. |
valueType | The ValueType of the PropertyValue. |
style | Optional GUIStyle. |
|
static |
Draw the source field of a PropertyValue.
position | Rectangle on the screen to use for the field. |
label | The Label of the field. |
propertyValue | The PropertyValue to draw the source. |
style | Optional GUIStyle. |
|
static |
Draw the source field of a PropertyValue.
position | Rectangle on the screen to use for the field. |
label | The Label of the field. |
propertyValue | The PropertyValue to draw the source. |
displayedOptions | The list of options to display. |
style | Optional GUIStyle. |
|
static |
Draw a Popup field from a selected string and return the new string selected.
position | Rectangle on the screen to use for the field. |
label | The label of the field. |
selectedString | The selected string. |
displayedOptions | The list of options to display. |
style | Optional GUIStyle. |
|
static |
Draw a Popup field from a selected string and return the new string selected.
position | Rectangle on the screen to use for the field. |
label | The label of the field. |
selectedString | The selected string. |
displayedOptions | The list of options to display. |
defaultIndex | The default index to select if the selected string is not find. |
style | Optional GUIStyle. |
|
static |
Draw a Popup field from a selected string and return the new string selected.
position | Rectangle on the screen to use for the field. |
label | The label of the field. |
selectedString | The selected string. |
displayedOptions | The list of options to display. |
style | Optional GUIStyle. |
|
static |
Draw a Popup field from a selected string and return the new string selected.
position | Rectangle on the screen to use for the field. |
label | The label of the field. |
selectedString | The selected string. |
displayedOptions | The list of options to display. |
defaultIndex | The default index to select if the selected string is not find. |
style | Optional GUIStyle. |
|
static |
Draw a Popup field from a selected string and return the new string selected.
position | Rectangle on the screen to use for the field. |
icon | The Icon to draw before the label. |
label | The label of the field. |
selectedString | The selected string. |
displayedOptions | The list of options to display. |
style | Optional GUIStyle. This style will only be apply to the field and not on the icon. |
|
static |
Draw a Popup field from a selected string and return the new string selected.
position | Rectangle on the screen to use for the field. |
icon | The Icon to draw before the label. |
label | The label of the field. |
selectedString | The selected string. |
displayedOptions | The list of options to display. |
defaultIndex | The default index to select if the selected string is not find. |
style | Optional GUIStyle. This style will only be apply to the field and not on the icon. |
|
static |
Draw a Popup field from a selected string and return the new string selected.
position | Rectangle on the screen to use for the field. |
icon | The Icon to draw before the label. |
label | The label of the field. |
selectedString | The selected string. |
displayedOptions | The list of options to display. |
style | Optional GUIStyle. This style will only be apply to the field and not on the icon. |
|
static |
Draw a Popup field from a selected string and return the new string selected.
position | Rectangle on the screen to use for the field. |
icon | The Icon to draw before the label. |
label | The label of the field. |
selectedString | The selected string. |
displayedOptions | The list of options to display. |
defaultIndex | The default index to select if the selected string is not find. |
style | Optional GUIStyle. This style will only be apply to the field and not on the icon. |
|
static |
Draw a Popup field from a selected string and return the new string selected.
position | Rectangle on the screen to use for the field. |
icon | The Icon to draw before the label. |
label | The label of the field. |
selectedString | The selected string. |
displayedOptions | The list of options to display. |
style | Optional GUIStyle. This style will only be apply to the field and not on the icon. |
|
static |
Draw a Popup field from a selected string and return the new string selected.
position | Rectangle on the screen to use for the field. |
icon | The Icon to draw before the label. |
label | The label of the field. |
selectedString | The selected string. |
displayedOptions | The list of options to display. |
style | Optional GUIStyle. This style will only be apply to the field and not on the icon. |
|
static |
Draw a Popup field from a selected string and return the new string selected.
position | Rectangle on the screen to use for the field. |
icon | The Icon to draw before the label. |
label | The label of the field. |
selectedString | The selected string. |
displayedOptions | The list of options to display. |
style | Optional GUIStyle. This style will only be apply to the field and not on the icon. |
|
static |
Draw a Popup field from a selected string and return the new string selected.
position | Rectangle on the screen to use for the field. |
icon | The Icon to draw before the label. |
label | The label of the field. |
selectedString | The selected string. |
displayedOptions | The list of options to display. |
style | Optional GUIStyle. This style will only be apply to the field and not on the icon. |
|
static |
Draw the icon of a Tag.
position | Rectangle on the screen to use for the field. |
index | The index of the Tag, in Tags.TagsList list, to draw. |
|
static |
Draw the icon of a Tag.
position | Rectangle on the screen to use for the field. |
tagIDValue | The TagID.Value of the Tag to draw. |
|
static |
|
static |
Draw a TagID Field .
position | Rectangle on the screen to use for the field. |
label | The label to draw between the picture and the TagID Field. /!\ WARNING : Only the text will be use. |
tagIDValue | The TagID.Value of the Tag to draw. |
style | Optional GUIStyle. |
|
static |
Draw a TagID Field .
position | Rectangle on the screen to use for the field. |
tagIDValue | The TagID.Value of the Tag to draw. |
style | Optional GUIStyle. |
|
static |
Draw a TagID Field .
position | Rectangle on the screen to use for the field. |
label | The label to draw between the picture and the TagID Field. |
tagIDValue | The TagID.Value of the Tag to draw. |
style | Optional GUIStyle. |
|
static |
Draw a TagID Field and it's icon.
position | Rectangle on the screen to use for the field. |
label | The label to draw between the picture and the TagID Field. /!\ WARNING : Only the text will be use. |
tagIDValue | The TagID.Value of the Tag to draw. |
style | Optional GUIStyle. This style will only be apply to the field and not on the icon. |
|
static |
Draw a TagID Field and it's icon.
position | Rectangle on the screen to use for the field. |
label | The label to draw between the picture and the TagID Field. /!\ WARNING : Only the text will be use. |
tagID | The TagID of the Tag to draw. |
style | Optional GUIStyle. This style will only be apply to the field and not on the icon. |
|
static |
Draw a TagID Field and it's icon.
position | Rectangle on the screen to use for the field. |
tagIDValue | The TagID.Value of the Tag to draw. |
style | Optional GUIStyle. This style will only be apply to the field and not on the icon. |
|
static |
Draw a TagID Field and it's icon.
position | Rectangle on the screen to use for the field. |
label | The label to draw between the picture and the TagID Field. /!\ WARNING : Only the text will be use. |
tagIDValue | The TagID.Value of the Tag to draw. |
style | Optional GUIStyle. This style will only be apply to the field and not on the icon. |
|
static |
Draw a TagID Field and it's icon .
position | Rectangle on the screen to use for the field. |
label | The label to draw between the picture and the TagID Field. |
tagID | The TagID of the Tag to draw. |
displayedOption | The Tag list to search in. |
style | Optional GUIStyle. This style will only be apply to the field and not on the icon. |
|
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
position | Rectangle on the screen to use for the field. |
label | The label of the field. |
typedValue | The TypedValue to draw as a SerializedProperty. |
style | Optional GUIStyle. /!\ This may not be apply depend on ValueType. |
|
static |
Draw a TypedValue field.
position | Rectangle on the screen to use for the field. |
label | The label of the field. |
valueType | The type of the value as a Tag.ValueType. |
value | The object to draw. |
style | Optional GUIStyle. /!\ This may not be apply depend on ValueType. |
|
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
position | Rectangle on the screen to use for the field. |
label | The label of the field. |
typedValue | The TypedValue to draw. |
style | Optional GUIStyle. /!\ This may not be apply depend on ValueType. |
|
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
position | Rectangle on the screen to use for the field. |
typedValue | The TypedValue to draw as a SerializedProperty. |
style | Optional GUIStyle. /!\ This may not be apply depend on ValueType. |
|
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
position | Rectangle on the screen to use for the field. |
label | The label of the field. |
typedValue | The TypedValue to draw as a SerializedProperty. |
style | Optional GUIStyle. /!\ This may not be apply depend on ValueType. |
|
static |
Draw a TypedValue field.
position | Rectangle on the screen to use for the field. |
label | The label of the field. |
valueType | The type of the value as a Tag.ValueType. |
value | The object to draw. |
style | Optional GUIStyle. /!\ This may not be apply depend on ValueType. |
|
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
position | Rectangle on the screen to use for the field. |
label | The label of the field. |
typedValue | The TypedValue to draw. |
style | Optional GUIStyle. /!\ This may not be apply depend on ValueType. |
|
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
position | Rectangle on the screen to use for the field. |
typedValue | The TypedValue to draw. |
style | Optional GUIStyle. /!\ This may not be apply depend on ValueType. |
|
static |
Draw a TypedValue fields.
position | Rectangle on the screen to use for the fields. |
typedValue | The TypedValue to draw as SerializedProperty. |
|
static |
Draw a TypedValue fields.
position | Rectangle on the screen to use for the fields. |
typedValue | The TypedValue to draw. |
|
static |
Min width to be able to draw a Vector field in a single line.
|
static |
With for a single line Tag icon field.
|
static |
With for a Tag icon field.