summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-07-09 19:43:38 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-07-09 19:43:38 +0200
commit1261f47c35ec6963fccfc56e7e7f4bb2f288a691 (patch)
tree647a3bcc2cd363cb9d0b7f6eb460c099788bbde4 /doc/classes
parent006bb33b79fe110406a539a919d59e558fea5e1c (diff)
Mention `SceneTree.create_timer()` in the Timer class documentation
This closes https://github.com/godotengine/godot-docs/issues/2349 (as the linked method already contains an example).
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Timer.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Timer.xml b/doc/classes/Timer.xml
index c1e5987a06..5d684755fa 100644
--- a/doc/classes/Timer.xml
+++ b/doc/classes/Timer.xml
@@ -5,6 +5,7 @@
</brief_description>
<description>
Counts down a specified interval and emits a signal on reaching 0. Can be set to repeat or "one-shot" mode.
+ [b]Note:[/b] To create an one-shot timer without instantiating a node, use [method SceneTree.create_timer].
</description>
<tutorials>
</tutorials>