I have some widgets and in one I have a gender select, in the next one some options based on said gender. Once I select a gender, the buttons in the second widget should update accordingly...which actually happens...until I mouse over them and mouse out. When I mouse out, the sprite on the button reverts back to the original one... why?
Code goes something like this...
UISprite button= GameObject.Find ("Button1").GetComponent<UISprite> ();
button.spriteName = "somethingElse";