Hello,
A friend of mine adviced me to get NGUI since as he said "It would make my life easier",
but so far I've wasted 2 days trying to get even the most simpel things to work,
which obviously is beginning to annoy me quite a bit.
I decided then to get the Starlink example hoping I would a bit more insight into
NGUI and its usings but once again, no luck.
So finally I've decided to post here before my head explodes from what is most likely
just my own incompetence;
I'm using the basics from the chat in Starlink, however I am using a dynamic font instead
of that atlast font that is used in Starlink.
I've gotten it working with the normal font, but the text after having been typed refuses
to go up on the chat window instantly, and it just keeps placing the newly writting
messages ontop of each other.
I know theres nothing wrong with the chat objects, since its spawning the labels as it
should, and the labels are placed as they should (I verified this by pausing and checking
the hierarchy) so I dont get it.
Heres a screenshot;
http://i.imgur.com/irEzgAG.pngThe text however do get moved up.. But not until 2 seconds or so later, and only
if the chat box is not active.
I am out of ideas here..
Also I should most likely point out that all UI elements have been shrunk down since I made my
game before using this kit I cant resize everything to it suddenly fits stuff thats the scale of "x: 20, y: 20, z: 1"
and so on.
Hopefully I could get some help.
I did change the UIChat script though. But thats mainly changing some things to floats and using font.pixelSize instead of font.size.