Method MultiPropertyOnLine
MultiPropertyOnLine(Rect, GUIContent, SerializedProperty[], GUIContent[])
Put multiple properties on a single inspector line, with optional label overrides. Passing null as a label (or sublabel) override will cause the property's displayName to be used as a label. For no label at all, pass GUIContent.none.
Declaration
public static void MultiPropertyOnLine(Rect rect, GUIContent label, SerializedProperty[] props, GUIContent[] subLabels)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | rect | |
| GUIContent | label | |
| SerializedProperty[] | props | |
| GUIContent[] | subLabels |