public static void SearchablePopupString(SerializedProperty property, GUIContent label, string[] displayedOptions, Func <int, bool> checkEnabled, GUIStyle style, params GUILayoutOption[] options) { Rect position = SetLastRect(GetControlRect(true, EditorGUIX.kSingleLineHeight, style, options)); EditorGUIX.SearchablePopupString(position, property, label, displayedOptions, checkEnabled, style); }
public static int SearchablePopup(GUIContent label, int selectedIndex, string[] displayedOptions, Func <int, bool> checkEnabled, GUIStyle style, params GUILayoutOption[] options) { Rect position = SetLastRect(GetControlRect(true, EditorGUIX.kSingleLineHeight, style, options)); return(EditorGUIX.SearchablePopup(position, label, selectedIndex, displayedOptions, checkEnabled, style)); }