2D Toolkit Forum

2D Toolkit => Support => Topic started by: Carl.Brand on April 03, 2014, 04:05:59 pm

Title: Possible to use Unity's Animator with 2dtkSprite?
Post by: Carl.Brand on April 03, 2014, 04:05:59 pm
Can I use the Animator Controller/Animation with a 2D Toolkit Sprite? I like the way I can setup parameters and states and passing those values through in code. I'm currently using the 2D Toolkit animations.

Thanks for any help :]
Title: Re: Possible to use Unity's Animator with 2dtkSprite?
Post by: zettam on April 04, 2014, 12:13:20 am
I use unity animation editor all the time, it works like a charm.
You can't edit colors of sprites, but position scale rotation and native values can be modified.
Title: Re: Possible to use Unity's Animator with 2dtkSprite?
Post by: Carl.Brand on April 04, 2014, 09:03:26 am
That's good to know, can you actually animate the sprite using the animator or does that still have to be done with the 2dtk animation window? Im guessing now since the animator uses a Sprite Renderer?
Title: Re: Possible to use Unity's Animator with 2dtkSprite?
Post by: unikronsoftware on April 06, 2014, 12:13:20 pm
No, the unity animation editor has had a long standing limitation where it can't animate c# properties. All tk2d properties are c# properties, and can't be animated in this way.