Experimental: this API is experimental and might be changed or removed in the future.

PropertyFieldConstructor

Switch to Manual
public PropertyField ();
public PropertyField (SerializedProperty property);
public PropertyField (SerializedProperty property, string label);

Parameters

propertyProviding a SerializedProperty in the construct just sets the bindingPath. You will still have to call Bind() on the PropertyField afterwards.
labelOptionally overwrite the property label.

Description

PropertyField constructor.

You will still have to call Bind() on the PropertyField afterwards.