I was using NGUI 3.4.9 before, so I upgraded to 3.6.8 now.
I have a small script where on click I toggle between 2 sprites.
It worked fine in 3.4.9, but now when I click the button, the sprite changes, but as soon as I move the mouse
the sprite changes back to the first one.
I'm changing the sprite with this code:
gameObject.GetComponent<UISprite>().spriteName = "music-off";
Any ideas? Something changed between these versions?
Thanks!