LayerField
Initializes and returns an instance of LayerField.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEditor.UIElements
- Assembly: UnityEditor
LayerField(string)
Initializes and returns an instance of LayerField.
public LayerField(string label)
Parameters
The text to use as a label for the field.
LayerField()
Initializes and returns an instance of LayerField.
public LayerField()
LayerField(int)
Initializes and returns an instance of LayerField.
public LayerField(int defaultValue)
Parameters
The initial layer value this field should use.
LayerField(string, int)
Initializes and returns an instance of LayerField.
public LayerField(string label, int defaultValue)