2D Toolkit > Support

Is there a way to change the speed of an animation in code?

(1/1)

negative_zero:
I've been trying this, but it doesn't change anything?

gameObject.GetComponent<tk2dSpriteAnimator> ().ClipFps = 12.0f;

No matter what I do, whenever I read the variable it just returns -1.

Navigation

[0] Message Index

Go to full version