31
NGUI 3 Support / Manual refresh of UIPanel?
« on: June 13, 2012, 05:52:20 AM »
Ok, this is a problem that can be solved in about 5 seconds in one line of code. Just trying to find that particular code.
I have a draggable UIPanel with buttons in it, as I drag back and forth everything works ok. I have a cursor in my slider which highlights a button when I click on it.
The problem I have is that when I click a new button, the graphic does not update unless I drag the panel again, even though nothing is set to static. Basically what I am looking for is something like this.
MyNGUIObj.RefreshUILabel();
I have a draggable UIPanel with buttons in it, as I drag back and forth everything works ok. I have a cursor in my slider which highlights a button when I click on it.
The problem I have is that when I click a new button, the graphic does not update unless I drag the panel again, even though nothing is set to static. Basically what I am looking for is something like this.
MyNGUIObj.RefreshUILabel();