From 81f448aa5d1cbc068cc88ceef53516faab826a45 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 9 Jul 2020 19:43:38 +0200 Subject: [PATCH] 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). (cherry picked from commit 1261f47c35ec6963fccfc56e7e7f4bb2f288a691) --- doc/classes/Timer.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Timer.xml b/doc/classes/Timer.xml index ef87b8291d8..f3f690b9c0c 100644 --- a/doc/classes/Timer.xml +++ b/doc/classes/Timer.xml @@ -5,6 +5,7 @@ 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].