小鱼眼睛在颤抖是怎么了
this.babyEyeTimer +=deltaTime;
if(this.babyEyeTimer > this.babyEyeInterval)
{
this.babyEyeCount = (this.babyEyeCount + 1) % 2;
this.babyTailTimer %= this.babyEyeInterval;
if(this.babyEyeCount == 0)
{
this.babyEyeInterval = Math.random() * 1500 + 2000;
}
else
{
this.babyEyeInterval = 200;
}
}