1
NGUI 3 Support / Re: UIButton.isEnabled changes not updating background sprite
« on: February 22, 2014, 11:24:47 AM »
Hey ArenMook,
Thanks for the response. Updated to 3.5.1, same problem.
I found that if I set isEnabled = false and then disable and re-enable each game object (meaning the buttons), then the disabled/enabled background sprite update correctly.
Also, when going from isEnabled = false to isEnabled = true (and not disabling/enabling the gameobject) if I mouse over (so the button changes to the hover state) it will then update to the correct 'Normal' sprite after I move the mouse away.
Thanks
Thanks for the response. Updated to 3.5.1, same problem.
I found that if I set isEnabled = false and then disable and re-enable each game object (meaning the buttons), then the disabled/enabled background sprite update correctly.
Also, when going from isEnabled = false to isEnabled = true (and not disabling/enabling the gameobject) if I mouse over (so the button changes to the hover state) it will then update to the correct 'Normal' sprite after I move the mouse away.
Thanks
