PopupField
Construct a PopupField.
阅读时间1 分钟最后更新于 1 个月前
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)