PropertyField
PropertyField constructor.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor.UIElements
- Assembly: UnityEditor.CoreModule
PropertyField()
PropertyField constructor.
public PropertyField()
Remarks
You will still have to call Bind() on the PropertyField afterwards.
PropertyField(SerializedProperty)
PropertyField constructor.
public PropertyField(SerializedProperty property)
Parameters
Providing a SerializedProperty in the construct just sets the bindingPath. You will still have to call Bind() on the PropertyField afterwards.
Remarks
You will still have to call Bind() on the PropertyField afterwards.
PropertyField(SerializedProperty, string)
PropertyField constructor.
public PropertyField(SerializedProperty property, string label)
Parameters
Providing a SerializedProperty in the construct just sets the bindingPath. You will still have to call Bind() on the PropertyField afterwards.
Optionally overwrite the property label.
Remarks
You will still have to call Bind() on the PropertyField afterwards.