Hello Guest

Author Topic: Sprite Scale Animation doesn't work on Web Player  (Read 4180 times)

ExCx

  • Newbie
  • *
  • Posts: 10
    • View Profile
Sprite Scale Animation doesn't work on Web Player
« on: December 06, 2013, 05:04:38 pm »
I'm animating a tk2d sprite's scale values with Unity's own Animation tool. It works fine in the editor. But when I build for Web Player nothing happens.

Note that I'm talking about SPRITE's scale values. Not the main ones. As they scale the collider as well, it's useless for me.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Sprite Scale Animation doesn't work on Web Player
« Reply #1 on: December 07, 2013, 03:19:45 pm »
Are you using any script to make it work with the animation tool? It shouldn't work in the editor if you don't

ExCx

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Sprite Scale Animation doesn't work on Web Player
« Reply #2 on: December 10, 2013, 12:11:43 pm »
No, I'm not using any additional scripts. I just use the animation tool directly to change the tk2dsprite.scale values, and it works well in the editor. Can you show me the code piece I should normally use? Maybe that would help.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Sprite Scale Animation doesn't work on Web Player
« Reply #3 on: December 10, 2013, 12:35:45 pm »
The animation tool can't animate unity properties. If its working in the editor, something really strange is likely going on. Can you send a repro case where it actually works in the editor.