diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-23 19:22:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-23 19:22:42 +0200 |
commit | dab7a326e5be8d395fd854c8b85b4dda31804fb2 (patch) | |
tree | 3aee9304dd36ca9a194f766042c39146c64d9e43 /scene/main/scene_tree.h | |
parent | d17201afc2fd8e0ff246403041691b4ce4bcc3b5 (diff) | |
parent | 8793ec45647b57b5f5f772740c7aa8284e72ecb2 (diff) |
Merge pull request #43693 from KoBeWi/absolute_tooltips
Show tooltips even when paused or time_scale is 0
Diffstat (limited to 'scene/main/scene_tree.h')
-rw-r--r-- | scene/main/scene_tree.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/main/scene_tree.h b/scene/main/scene_tree.h index 0be0e185a5..c3d59663d6 100644 --- a/scene/main/scene_tree.h +++ b/scene/main/scene_tree.h @@ -54,6 +54,7 @@ class SceneTreeTimer : public RefCounted { float time_left = 0.0; bool process_always = true; + bool ignore_time_scale = false; protected: static void _bind_methods(); @@ -65,6 +66,9 @@ public: void set_process_always(bool p_process_always); bool is_process_always(); + void set_ignore_time_scale(bool p_ignore); + bool is_ignore_time_scale(); + void release_connections(); SceneTreeTimer(); |