Merge pull request #155 from Scriptwonder/master

Bug Fix: Asset name
main
Shutong Wu 2025-07-08 02:40:10 -04:00 committed by GitHub
commit e67b806f54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -893,7 +893,7 @@ namespace UnityMcpBridge.Editor.Tools
}
} 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
string propName = "_Color"; // Default main color
try {
if (colorArr.Count >= 3)
{