问答详情
源自:1-3 眨眼睛

为何没有眨眼的效果,但也不报错?

//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;

}

}


提问者:慕无忌3282989 2017-01-07 17:48

个回答

  • qq_你_14
    2017-01-11 15:25:55
    已采纳

    用的是谷歌浏览器吗用谷歌就应该会报错

  • 聰哥哥3847552
    2017-09-01 17:30:54

    我也是

    不报错,是谷歌的