Hello Guest

Author Topic: Possible to use Unity's Animator with 2dtkSprite?  (Read 4651 times)

Carl.Brand

  • Newbie
  • *
  • Posts: 2
    • View Profile
Possible to use Unity's Animator with 2dtkSprite?
« 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 :]

zettam

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Possible to use Unity's Animator with 2dtkSprite?
« Reply #1 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.

Carl.Brand

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Possible to use Unity's Animator with 2dtkSprite?
« Reply #2 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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Possible to use Unity's Animator with 2dtkSprite?
« Reply #3 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.