From fb8be3b1c59bd967fdd8f36c09bfdddd5479183e Mon Sep 17 00:00:00 2001 From: Shutong Wu <51266340+Scriptwonder@users.noreply.github.com> Date: Sun, 13 Jul 2025 15:14:08 -0400 Subject: [PATCH] Update ManageAsset.cs --- UnityMcpBridge/Editor/Tools/ManageAsset.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UnityMcpBridge/Editor/Tools/ManageAsset.cs b/UnityMcpBridge/Editor/Tools/ManageAsset.cs index a9eeae2..5a27de0 100644 --- a/UnityMcpBridge/Editor/Tools/ManageAsset.cs +++ b/UnityMcpBridge/Editor/Tools/ManageAsset.cs @@ -907,9 +907,9 @@ namespace UnityMcpBridge.Editor.Tools ); } } - } else if (properties["_Color"] is JArray colorArr) //Current Prevention for systems that use _Color instead of color + } else if (properties["color"] is JArray colorArr) //Current Prevention for systems that use _Color instead of color { - string propName = "_Color"; // Default main color + string propName = "_Color"; try { if (colorArr.Count >= 3) {