2D Toolkit Forum

2D Toolkit => Support => Topic started by: ArtCoder on February 26, 2014, 04:11:19 am

Title: Unity 4.3 - Sprite opacity animation not working
Post by: ArtCoder on February 26, 2014, 04:11:19 am
Hi there. I'm working with 2D Toolkit on Unity 4.3 trying to animate a sprite's opacity. I added a Tk 2d Sprite.Color curve to my animation and changed the alpha value in a couple of keyframes. When I play the animation, I can see the alpha value change in the animation window, but the actual sprite opacity doesn't change. Is this a 2D Toolkit limitation or am I missing something?
Title: Re: Unity 4.3 - Sprite opacity animation not working
Post by: unikronsoftware on February 26, 2014, 10:57:07 am
This is a limitation of the animation editor. It can't animate c# properties, only built in unity properties. We have posted an example adapter  in the forum, but it is usually much more efficient to animate using a tween package.