Skip to content

Commit

Permalink
Update SerializeReferenceField
Browse files Browse the repository at this point in the history
  • Loading branch information
uurha committed Sep 6, 2024
1 parent 6826c57 commit 3d08fc6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class SerializeReferenceField : VisualElement
private Label _bufferLabel;
#endif

public PropertyField PropertyField { get; set; }
public PropertyField PropertyField { get; private set; }

public long UpdateInterval
{
Expand Down Expand Up @@ -142,7 +142,7 @@ private void Update()
{
using (var e = SerializedPropertyChangeEvent.GetPooled(property))
{
e.target = this;
e.target = PropertyField;
panel?.visualTree.SendEvent(e);
}
}
Expand Down

0 comments on commit 3d08fc6

Please sign in to comment.