1
NGUI 3 Support / tweenalpha.toggle
« on: March 10, 2014, 02:04:13 PM »
I have successfully tried to access alpha from my code by creating a UIWidget name; and change its value by name.alpha = 1f; and it all works but it creates me one problem as on click i notify a game object and call TweenAlpha.Toggle where i kind of fade out my sprite. When i change the alpha of my sprite from my code it gets back to 1 but when i click button and notify same object again it doesnt work properly as it fade in by itself. So i am looking for a way to run TweenAlpha.Toggle back to fade in so it works like you have clicked the same button again. Thank you in advice
