From 1261f47c35ec6963fccfc56e7e7f4bb2f288a691 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). --- doc/classes/Timer.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Timer.xml b/doc/classes/Timer.xml index c1e5987a060..5d684755fa3 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].