mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add a warning for Timer nodes with very low wait times
Very low wait times behave in unpredictable ways depending on the rendered frame rate. This is because the timeout signal is only emitted once per rendered frame (or physics frame, depending on the timer's process mode).
This commit is contained in:
parent
6f72d9d19f
commit
42d13e29e2
3 changed files with 15 additions and 1 deletions
|
|
@ -73,6 +73,8 @@ public:
|
|||
|
||||
double get_time_left() const;
|
||||
|
||||
TypedArray<String> get_configuration_warnings() const override;
|
||||
|
||||
void set_timer_process_callback(TimerProcessCallback p_callback);
|
||||
TimerProcessCallback get_timer_process_callback() const;
|
||||
Timer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue