//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;
}
}
用的是谷歌浏览器吗用谷歌就应该会报错
我也是
不报错,是谷歌的