You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -125,6 +130,29 @@ public override void OnInspectorGUI()
125
130
{
126
131
EditorGUILayout.HelpBox("It's recommended to use a Font Icon Set Definition to ensure consistent icon names across icon sets.",MessageType.Warning);
127
132
}
133
+
else
134
+
{
135
+
if(anyInvalidName)
136
+
{
137
+
EditorGUILayout.HelpBox("Icon names highlighted yellow are not present in the selected Font Icon Set Definition and should be updated.",MessageType.Warning);
138
+
anyInvalidName=false;
139
+
}
140
+
141
+
validNames.Clear();
142
+
availableNames.Clear();
143
+
// Reserve space for the current icon's name
144
+
availableNames.Add(string.Empty);
145
+
foreach(stringnameinsetDefinition.IconNames)
146
+
{
147
+
validNames.Add(name);
148
+
if(!iconEntries.Values.Contains(name))
149
+
{
150
+
availableNames.Add(name);
151
+
}
152
+
}
153
+
154
+
availableNamesArray=availableNames.ToArray();
155
+
}
128
156
129
157
intcolumn=0;
130
158
stringiconToRemove=null;
@@ -153,11 +181,37 @@ public override void OnInspectorGUI()
0 commit comments