PopupField
Construct a PopupField.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
PopupField()
Construct a PopupField.
public PopupField()
PopupField(string)
Construct a PopupField.
public PopupField(string label = null)
Parameters
PopupField(List<T>, T, Func<T, string>, Func<T, string>)
Construct a PopupField.
public PopupField(List<T> choices, T defaultValue, Func<T, string> formatSelectedValueCallback = null, Func<T, string> formatListItemCallback = null)
Parameters
PopupField(string, List<T>, T, Func<T, string>, Func<T, string>)
Construct a PopupField.
public PopupField(string label, List<T> choices, T defaultValue, Func<T, string> formatSelectedValueCallback = null, Func<T, string> formatListItemCallback = null)
Parameters
PopupField(List<T>, int, Func<T, string>, Func<T, string>)
Construct a PopupField.
public PopupField(List<T> choices, int defaultIndex, Func<T, string> formatSelectedValueCallback = null, Func<T, string> formatListItemCallback = null)
Parameters
PopupField(string, List<T>, int, Func<T, string>, Func<T, string>)
Construct a PopupField.
public PopupField(string label, List<T> choices, int defaultIndex, Func<T, string> formatSelectedValueCallback = null, Func<T, string> formatListItemCallback = null)