Is there any function like Update but framerate independent? I need it for my shooting script. With
nextFire = Time.time + fireRate * Time.deltaTime;
you can only slow shooting down, you can’t make it faster if FPS is low.
Is there any function like Update but framerate independent? I need it for my shooting script. With
nextFire = Time.time + fireRate * Time.deltaTime;
you can only slow shooting down, you can’t make it faster if FPS is low.
You can use InvokeRepeating.