Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: kretin on May 25, 2014, 08:55:51 PM
-
I have a couple of problems that I haven't found a cure for.
I'm using UIGrid to display a number of prefabs (cards), either 3x2 or 4x2 or 4x3. Sometimes the first prefab doesn't get put into the right place, but stays in the middle, but only sometimes. Any ideas what I should be looking for to avoid that happening?
Secondly, I'm testing different fonts, and having a problem with the NGUI font "sticking" in a label.
1. I choose a dynamic font
2. Go back to an NGUI font
3. Choose a dynamic font
4. Choose a different object, and then go back to the label and the font is back to the NGUI one.
5. Choose a dynamic font again.
6. Choose a different object, and then go back to the label and the font is back to the NGUI one.
Any ideas?
PS I haven't forgotten about the sample scene for the full screen button issue. I'll get onto that in the next day or so.
-
I realize that the font issue is when it is or has been a prefab, so probably related to the sprite reverting serializing issue you've discussed in another thread.
-
For the font reverting I figured out by keeping a copy in the scene I can change that and hit "Apply" and it sticks.
I haven't solved the grid problem though.
-
Not sure what would cause one element to not get reposition. The grid repositions children, so my guess is that there might be something else that's conflicting with it, such as some tween that changes the position.
-
Thank you so much. It threw me because it was so infrequent.
Your reply made me realize I was setting the vector3 position instead of just the z value.