Update ManageAsset.cs
Silly mistake I made with a rush to fix the previous bug, will be more cautious and run through the test in the future.main
parent
1e8862aa4b
commit
7b3b562c72
|
|
@ -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
|
} 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 {
|
try {
|
||||||
if (colorArr.Count >= 3)
|
if (colorArr.Count >= 3)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue