示例#1
0
 public static void GUIPopup(Rect position, DropdownList dropdownList)
 {
     StratusSearchablePopup.Popup(position, dropdownList.selectedIndex, dropdownList.displayedOptions, (int index) => dropdownList.selectedIndex = index);
 }
示例#2
0
 public static void GUILayoutPopup(DropdownList dropdownList)
 {
     StratusSearchablePopup.Popup(dropdownList.selectedIndex, dropdownList.displayedOptions, (int index) => dropdownList.selectedIndex = index);
 }