Esempio n. 1
0
 public static void GUIPopup(Rect position, DropdownList dropdownList)
 {
     StratusSearchablePopup.Popup(position, dropdownList.selectedIndex, dropdownList.displayedOptions, (int index) => dropdownList.selectedIndex = index);
 }
Esempio n. 2
0
 public static void GUIPopup(Rect position, string label, int selectedindex, string[] displayedOptions, System.Action <int> onSelected)
 {
     StratusSearchablePopup.Popup(position, label, selectedindex, displayedOptions, onSelected);
 }
Esempio n. 3
0
 public static void GUILayoutPopup(DropdownList dropdownList)
 {
     StratusSearchablePopup.Popup(dropdownList.selectedIndex, dropdownList.displayedOptions, (int index) => dropdownList.selectedIndex = index);
 }