Hello Guest

Author Topic: Animate Color Values  (Read 4192 times)

mika

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Animate Color Values
« on: July 16, 2013, 07:48:32 pm »
i'm trying to animate the color values of a sprite by changing it's values fom 0 to 1 in the animation window. in the inspector the color of the Tk 2d Sprite (Script) is being changed when the animation runs. but the color of the sprite in the game and the scene window does not change. i attached a screenshot with most of the settings visible. have i overlooked something? 

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Animate Color Values
« Reply #1 on: July 16, 2013, 11:07:28 pm »
Those values are properties, and the unity animation editor won't update properties :(
Attach a script like the one in the link to your sprite object, and you will be able to animate the properties on that.
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,1816.msg8915.html#msg8915

mika

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Animate Color Values
« Reply #2 on: July 16, 2013, 11:19:09 pm »
solved. thanks!