This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

PropertyField Constructor

Declaration

public PropertyField();

Declaration

public PropertyField(SerializedProperty property);

Declaration

public PropertyField(SerializedProperty property, string label);

Parameters

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

Description

PropertyField constructor.

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