Method DrawMultipleFields
DrawMultipleFields(string, SerializedProperty[], GUIContent[])
Draw a multiple field property
Declaration
public static void DrawMultipleFields(string label, SerializedProperty[] ppts, GUIContent[] labels)
Parameters
Type | Name | Description |
---|---|---|
string | label | Label of the whole |
SerializedProperty[] | ppts | Properties |
GUIContent[] | labels | Sub-labels |
DrawMultipleFields(GUIContent, SerializedProperty[], GUIContent[])
Draw a multiple field property
Declaration
public static void DrawMultipleFields(GUIContent label, SerializedProperty[] ppts, GUIContent[] labels)
Parameters
Type | Name | Description |
---|---|---|
GUIContent | label | Label of the whole |
SerializedProperty[] | ppts | Properties |
GUIContent[] | labels | Sub-labels |
DrawMultipleFields<T>(GUIContent, GUIContent[], T[])
Draw a multiple field property
Declaration
public static void DrawMultipleFields<T>(GUIContent label, GUIContent[] labels, T[] values) where T : struct
Parameters
Type | Name | Description |
---|---|---|
GUIContent | label | Label of the whole |
GUIContent[] | labels | The labels mapping the values |
T[] | values | The values to be displayed |
Type Parameters
Name | Description |
---|---|
T | A valid struct |