Hello,
I am trying to have my animations play faster as time goes along. referring to a timer script. this is what i have, it recognises and prints time, but doesnt speed-up the animations. a novice at scripting here
function Update () {
print(other.score);
if (other.score >= 0){
animation.PlayQueued(anims[Random.Range(0, anims.length)]).speed = animspeed;
}
if (other.score >= 4){
animspeed = 2f;
}
if (other.score >= 15){
animspeed =7f;
}
}