Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: konsnos on July 18, 2014, 04:22:08 AM

Title: Can't animate alpha
Post by: konsnos on July 18, 2014, 04:22:08 AM
Hello,

I've been using NGUI for quire some time now. Somehow I did something and ruined an alpha animation that I had and now I don't know what to do to bring it back. I have a UISprite which I want to constantly fade in/out. I've added the script Tween Alpha and I've set From:1, To:0, Play Styte: Ping Pong, Duration 0.8. I can see the animation in the inspector but in the editor i can't see any change.

What could I possibly have done wrong?
Current NGUI version : 3.6.3
Title: Re: Can't animate alpha
Post by: ArenMook on July 18, 2014, 06:56:38 AM
Check your hierarchy. Maybe you have more than one widget on the same object, or you may have a panel on the same object as your widget. Both are invalid. You should also update your NGUI. You'd get warnings about this in the up-to-date version.
Title: Re: Can't animate alpha
Post by: konsnos on July 18, 2014, 09:23:26 AM
Found it. Shader was wrong. I must have changed it by mistake. Sorry for the silly question :(

Thanks for the help nevertheless :) I appreciate it!