Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: realblues on December 10, 2012, 04:02:04 AM
-
My Altals has hundres of images,
sometimes images needs to deleted, but this is hard to find in the atlas maker
I need it to be sorted. Is it Possible?
thanks
-
Believe it or not, sorting an array of strings is ridiculously expensive in C#. I originally had the sprite list sorted, and it was a major source of slowdown when scrolling.
-
thanks for reply
I remember that scroll speed. it was horrible :)
If sorting is impossible, how about add searching bar like spritelist view as alternative?
thanks
-
That's more reasonable.
-
Believe it or not, sorting an array of strings is ridiculously expensive in C#. I originally had the sprite list sorted, and it was a major source of slowdown when scrolling.
Even if you do that only once before display ?!
-
The list of sprites comes from the atlas. This list gets interated through, and you see the string names. Are you suggesting modifying the order of sprites within the atlas itself?
-
Not just having a List<UISprite> spriteList in your script, and Sort it, then use this list to show the sprites.
-
I got one more request..
I need multiple delete. it takes time to delete individually.. may be it rebuild atlas immediately after delete.
Can I expect these 2 features?
-
Hi,
It's already available, do you have the latest version of NGUi ?