diff --git a/Assets/UdonSharp/Editor/Editors/UdonTypeExposureTree.cs b/Assets/UdonSharp/Editor/Editors/UdonTypeExposureTree.cs index 78cca7f8..7a7a7ab4 100644 --- a/Assets/UdonSharp/Editor/Editors/UdonTypeExposureTree.cs +++ b/Assets/UdonSharp/Editor/Editors/UdonTypeExposureTree.cs @@ -408,8 +408,15 @@ private void AddChildNode(TreeViewItem parentItem, MemberInfo memberInfo, ref in { metadata.rowColor = Color.red; if (metadata.exposed) + { metadata.rowColor = Color.green; + if (!EditorGUIUtility.isProSkin) + { + metadata.rowColor = new Color(0.2f, 0.6f, 0.2f); + } + } + if (metadata.isType) { Color labelColor = Color.Lerp(Color.red, Color.green, metadata.childExposure); @@ -419,6 +426,9 @@ private void AddChildNode(TreeViewItem parentItem, MemberInfo memberInfo, ref in s = 0.9f; v = 0.95f; + if (!EditorGUIUtility.isProSkin) + v = 0.6f; + metadata.rowColor = Color.HSVToRGB(h, s, v); metadata.rowName = metadata.qualifiedRowName = $"({metadata.childExposure * 100f:0.##}%) {item.displayName}";