文档

Unity Engine

Unity Engine

PropertyField

PropertyField constructor.
阅读时间1 分钟最后更新于 1 个月前

Definition

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.

label

Optionally overwrite the property label.

Remarks

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