Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Jaimi on April 26, 2012, 10:21:20 PM
-
[AARRGGBB] Opens up a ton of possiblities for hiding data in labels, for sorting, getting ID values out, etc.
-
Hiding data in labels... as in if alpha is 0 don't show it? If you want to embed data in labels then it might make sense to add something else, something binary instead... like
-
That's sorta funky. Why not just have a script next to it with the data, and change the label if you want to "reveal" data to the user? Embedding the data directly in the text strings seems ripe for bugs in my opinion.
-
It does seem funky, sure - but I'm looking at things like popup lists that make it a bit harder to associate objects/indexes with the items selected. With invisible data encoded into the string, I could make it sort how I wanted, stick indexes inside it, etc.
-
Hiding data in labels... as in if alpha is 0 don't show it? If you want to embed data in labels then it might make sense to add something else, something binary instead... like
Yeah, that would work great.