Class SerializableKeyValuePairDrawer
Custom property drawer for SerializableKeyValuePair.
[CustomPropertyDrawer(typeof(SerializableKeyValuePair<,>), true)]
public class SerializableKeyValuePairDrawer : PropertyDrawer
Inheritance
Methods
CreatePropertyGUI(SerializedProperty)
Creates the custom property GUI for SerializableKeyValuePair.
public override VisualElement CreatePropertyGUI(SerializedProperty property)
Parameters
| Name | Type | Description |
|---|---|---|
property | SerializedProperty | The serialized property to draw. |
Returns
VisualElement — The element containing the custom GUI.