为何没有眨眼的效果,但也不报错?
//baby eye
this.babyEyeTimer+=deltaTime;
if(this.babyEyeTimer>this.babyEyeInterval)
{
this.babyEyeCount=(this.babyEyeCount+1)%2;
this.babyEyeTimer%=this.babyEyeInterval;
if(this.babyEyeCount==0)
{
this.babyEyeInterval=Math.random()*1500+2000;//[,)
}else
{
this.babyEyeInterval=200;
}
}