Hello Guest

Author Topic: Unity 4.3 - Sprite opacity animation not working  (Read 3979 times)

ArtCoder

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 1
    • View Profile
Unity 4.3 - Sprite opacity animation not working
« 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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Unity 4.3 - Sprite opacity animation not working
« Reply #1 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.