Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: 20andup on June 18, 2014, 04:37:31 AM
-
I have button whose's sprite is changed during runtime. The problem is when I hover my mouse over the button or click the button during play mode in the editor, it goes back to the original sprite set in the inspector.
What seems to be happening is that the UITweenColor component get automatically added to the GameObject even though there is not code that does that.
-
Found the problem. I was setting the sprite via UISprite. I should set it through UIButton. :)