its the first Time Which the timer come no work for me?
this is the code of Timer
var AnimationTimer : float = 5.0;
function Update(){
AnimationTimer -= Time.deltatime;
}
its the first Time Which the timer come no work for me?
this is the code of Timer
var AnimationTimer : float = 5.0;
function Update(){
AnimationTimer -= Time.deltatime;
}
Use #pragma strict and you will see that it is deltaTime not deltatime. Without #pragma strict you are getting a 0 for deltatime.