Class QueryStringPropertyDrawer
Custom property drawer for QueryStringContainer
[CustomPropertyDrawer(typeof(QueryStringContainer))]
public class QueryStringPropertyDrawer : PropertyDrawer
Inheritance
Methods
GetPropertyHeight(SerializedProperty, GUIContent)
Override for the GetPropertyHeight method in PropertyDrawer. Returns the height of the property field.
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
| Name | Type | Description |
|---|---|---|
property | SerializedProperty | |
label | GUIContent |
Returns
float
OnGUI(Rect, SerializedProperty, GUIContent)
Override for the OnGUI method in PropertyDrawer. Customizes the GUI for the QueryString property.
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
| Name | Type | Description |
|---|---|---|
position | Rect | |
property | SerializedProperty | |
label | GUIContent |