2D Toolkit Forum
2D Toolkit => Support => Topic started by: DarkSlash on May 14, 2015, 02:46:39 pm
-
I have a character that I want to change color through animation. The sprites are managed with 2DToolkit. I created a clip, I put the change color at 1 second from the beginning (so the sprite will fade to that color) and I set the animation to NOT loop. The animation doesn't work in the preview mode (clicking play in animation clip) nor in the game view. What I'm doing wrong?
-
The unity animation system doesn't animate C# properties. The color property on a sprite is a c# property and because of that it just isn't possible without an adapter class or similar. An example - http://2dtoolkit.com/forum/index.php/topic,3719.msg20376.html#msg20376