2D Toolkit Forum

2D Toolkit => Support => Topic started by: ExCx on December 06, 2013, 05:04:38 pm

Title: Sprite Scale Animation doesn't work on Web Player
Post by: ExCx 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.
Title: Re: Sprite Scale Animation doesn't work on Web Player
Post by: unikronsoftware 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
Title: Re: Sprite Scale Animation doesn't work on Web Player
Post by: ExCx 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.
Title: Re: Sprite Scale Animation doesn't work on Web Player
Post by: unikronsoftware 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.