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).
This commit is contained in:
Hugo Locurcio 2020-07-09 19:43:38 +02:00
parent 006bb33b79
commit 1261f47c35
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
</brief_description> </brief_description>
<description> <description>
Counts down a specified interval and emits a signal on reaching 0. Can be set to repeat or "one-shot" mode. 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> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>