GenericDropdown.

DrawTypeField(Rect, SerializedProperty, string, GUIStyle, AdvancedDropdownState, Func<List<Type>>, Action<SerializedProperty, Type>, Action) Method

Summary

Draws a field which lets you pick a System.Type from a list.
Assembly
UltEvents.dll
Namespace
UltEvents.Editor
Containing Type
GenericDropdown

Syntax

public static void DrawTypeField(Rect area, SerializedProperty property, string selectedTypeName, GUIStyle style, ref AdvancedDropdownState state, Func<List<Type>> getTypes, Action<SerializedProperty, Type> setValue, Action onOpenMenu = null)

Parameters

Name Type Description
area Rect
property SerializedProperty
selectedTypeName string
style GUIStyle
state AdvancedDropdownState
getTypes Func<List<Type>>
setValue Action<SerializedProperty, Type>
onOpenMenu Action

Return Value

Type Description
void