You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Allow Timer nodes to ignore engine time scale
This commit is contained in:
@@ -41,6 +41,7 @@ class Timer : public Node {
|
||||
bool autostart = false;
|
||||
bool processing = false;
|
||||
bool paused = false;
|
||||
bool ignore_time_scale = false;
|
||||
|
||||
double time_left = -1.0;
|
||||
|
||||
@@ -69,6 +70,9 @@ public:
|
||||
void set_paused(bool p_paused);
|
||||
bool is_paused() const;
|
||||
|
||||
void set_ignore_time_scale(bool p_ignore);
|
||||
bool get_ignore_time_scale();
|
||||
|
||||
bool is_stopped() const;
|
||||
|
||||
double get_time_left() const;
|
||||
|
||||
Reference in New Issue
Block a user