group文字颜色

This commit is contained in:
邬春鹏
2025-06-05 09:35:18 +08:00
parent 1aecb54964
commit 986a31cae2

View File

@@ -784,9 +784,9 @@ namespace YooAsset.Editor
var textField1 = element.Q<Label>("Label1");
if (string.IsNullOrEmpty(group.GroupDesc))
textField1.text = group.GroupName;
textField1.text = ConvertText(group.GroupName);
else
textField1.text = $"{group.GroupName} ({group.GroupDesc})";
textField1.text = ConvertText($"{group.GroupName} ({group.GroupDesc})");
// 激活状态
IActiveRule activeRule = AssetBundleCollectorSettingData.GetActiveRuleInstance(group.ActiveRuleName);