From 3d08fc686296ccd75b5876bedc89aa0f18483003 Mon Sep 17 00:00:00 2001 From: uurha Date: Fri, 6 Sep 2024 02:44:53 +0200 Subject: [PATCH 1/2] Update SerializeReferenceField --- .../BetterCommons/Editor/Drawers/SerializeReferenceField.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/BetterCommons/Editor/Drawers/SerializeReferenceField.cs b/Assets/BetterCommons/Editor/Drawers/SerializeReferenceField.cs index a92d01a..2ea976c 100644 --- a/Assets/BetterCommons/Editor/Drawers/SerializeReferenceField.cs +++ b/Assets/BetterCommons/Editor/Drawers/SerializeReferenceField.cs @@ -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 { @@ -142,7 +142,7 @@ private void Update() { using (var e = SerializedPropertyChangeEvent.GetPooled(property)) { - e.target = this; + e.target = PropertyField; panel?.visualTree.SendEvent(e); } } From 14826ed8e5d37fa4d427a1c2604f4a8e824db830 Mon Sep 17 00:00:00 2001 From: uurha Date: Fri, 6 Sep 2024 02:45:17 +0200 Subject: [PATCH 2/2] Update package.json --- Assets/BetterCommons/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/BetterCommons/package.json b/Assets/BetterCommons/package.json index 55c7216..8528e85 100644 --- a/Assets/BetterCommons/package.json +++ b/Assets/BetterCommons/package.json @@ -1,7 +1,7 @@ { "name": "com.tdw.better.commons", "displayName": "Better Commons", - "version": "0.0.49", + "version": "0.0.50", "unity": "2021.3", "description": " ", "dependencies": {