语言English
  • C#

PropertyField 构造函数

声明

public PropertyField();

描述

PropertyField 构造函数。

您仍然需要在之后对 PropertyField 调用 Bind()。


声明

public PropertyField(SerializedProperty property);

参数

property 在构造函数中提供 SerializedProperty 仅设置 bindingPath。您仍然需要在之后对 PropertyField 调用 Bind()。

描述

PropertyField 构造函数。

您仍然需要在之后对 PropertyField 调用 Bind()。


声明

public PropertyField(SerializedProperty property, string label);

参数

property 在构造函数中提供 SerializedProperty 仅设置 bindingPath。您仍然需要在之后对 PropertyField 调用 Bind()。
label 可选地覆盖属性标签。

描述

PropertyField 构造函数。

您仍然需要在之后对 PropertyField 调用 Bind()。


Did you find this page useful? Please give it a rating: