Merge pull request #153 from Scriptwonder/master

Update ManageAsset.cs
main
Shutong Wu 2025-07-07 15:44:47 -04:00 committed by GitHub
commit 0f5304e36e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -893,6 +893,7 @@ 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 = colorProps["name"]?.ToString() ?? "_Color"; // Default main color
try { try {
if (colorArr.Count >= 3) if (colorArr.Count >= 3)
{ {