ManagedReferenceField Constructor
ManagedReferenceField(SerializedProperty)
Constructor. Receives a SerializedProperty for a field that has the SerializeReference attribute. It still needs to be bound to work properly.
Declaration
public ManagedReferenceField(SerializedProperty property)
Parameters
SerializedProperty | property | A SerializedProperty for a field with the SerializeReference attribute. |
ManagedReferenceField(SerializedProperty, String)
Constructor. Receives a SerializedProperty for a field that has the SerializeReference attribute. It still needs to be Bound to work properly.
Declaration
public ManagedReferenceField(SerializedProperty property, string label)
Parameters
SerializedProperty | property | A SerializedProperty for a field with the SerializeReference attribute. |
String | label | Optional string to override the property label. |