PickerMenu.

DrawTypeField(Rect, SerializedProperty, string, bool, 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
PickerMenu

Syntax

public static void DrawTypeField(Rect area, SerializedProperty property, string selectedTypeName, bool showFullTypeNames, 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
showFullTypeNames bool
style GUIStyle
state AdvancedDropdownState
getTypes Func<List<Type>>
setValue Action<SerializedProperty, Type>
onOpenMenu Action

Return Value

Type Description
void