@@ -244,6 +244,16 @@ public bool EditorDrawCharIconSelector(uint currentChar, out bool foundChar, out
244
244
}
245
245
}
246
246
247
+ if ( currentSelection >= 0 )
248
+ {
249
+ EditorGUILayout . BeginHorizontal ( ) ;
250
+
251
+ EditorGUILayout . LabelField ( "Current Icon Name" , EditorStyles . boldLabel ) ;
252
+ EditorGUILayout . LabelField ( charIcons [ currentSelection ] . Name ) ;
253
+
254
+ EditorGUILayout . EndHorizontal ( ) ;
255
+ }
256
+
247
257
using ( new EditorGUI . IndentLevelScope ( indentLevel ) )
248
258
{
249
259
int column = 0 ;
@@ -315,6 +325,16 @@ public bool EditorDrawSpriteIconSelector(Sprite currentSprite, out bool foundSpr
315
325
}
316
326
}
317
327
328
+ if ( currentSelection >= 0 )
329
+ {
330
+ EditorGUILayout . BeginHorizontal ( ) ;
331
+
332
+ EditorGUILayout . LabelField ( "Current Icon Name" , EditorStyles . boldLabel ) ;
333
+ EditorGUILayout . LabelField ( spriteIcons [ currentSelection ] . name ) ;
334
+
335
+ EditorGUILayout . EndHorizontal ( ) ;
336
+ }
337
+
318
338
if ( spriteIconTextures == null || spriteIconTextures . Length != spriteIcons . Length )
319
339
{
320
340
UpdateSpriteIconTextures ( ) ;
@@ -386,6 +406,16 @@ public bool EditorDrawQuadIconSelector(Texture currentTexture, out bool foundTex
386
406
}
387
407
}
388
408
409
+ if ( currentSelection >= 0 )
410
+ {
411
+ EditorGUILayout . BeginHorizontal ( ) ;
412
+
413
+ EditorGUILayout . LabelField ( "Current Icon Name" , EditorStyles . boldLabel ) ;
414
+ EditorGUILayout . LabelField ( quadIcons [ currentSelection ] . name ) ;
415
+
416
+ EditorGUILayout . EndHorizontal ( ) ;
417
+ }
418
+
389
419
using ( new EditorGUI . IndentLevelScope ( indentLevel ) )
390
420
{
391
421
float height = maxButtonSize * ( ( float ) quadIcons . Length / maxButtonsPerColumn ) ;
0 commit comments