Exemple #1
0
 public static void GUIPopup(Rect position, DropdownList dropdownList)
 {
     StratusSearchablePopup.Popup(position, dropdownList.selectedIndex, dropdownList.displayedOptions, (int index) => dropdownList.selectedIndex = index);
 }
Exemple #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);
 }
Exemple #3
0
 public static void GUILayoutPopup(DropdownList dropdownList)
 {
     StratusSearchablePopup.Popup(dropdownList.selectedIndex, dropdownList.displayedOptions, (int index) => dropdownList.selectedIndex = index);
 }