You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
repeat is set to 499, therefore timer will run 500 times
This timer will be stopped after 500 ms
The callback will count the times of time-out, and shown at a text game object.
I will expected that the counter will be 500 after 600ms.
It is because that callback only invoked one time in each tick. In a very short delay case, callback will be invoked many times, imo.
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue, and for submitting a PR to fix it. We have merged your PR into the master branch and attributed the work to you in the Change Log. If you need to tweak the code for whatever reason please submit a new PR.
Version
Description
In the test,
delay
is set to1
(1 ms)repeat
is set to499
, therefore timer will run 500 timesThe callback will count the times of time-out, and shown at a text game object.
I will expected that the counter will be
500
after 600ms.It is because that callback only invoked one time in each tick. In a very short delay case, callback will be invoked many times, imo.
The text was updated successfully, but these errors were encountered: