Skip to main content

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​

NameTypeDescription
propertySerializedProperty
labelGUIContent

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​

NameTypeDescription
positionRect
propertySerializedProperty
labelGUIContent
  • Methods
    • GetPropertyHeight(SerializedProperty, GUIContent)
    • OnGUI(Rect, SerializedProperty, GUIContent)