mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Fix description about SceneTreeTimer auto free
(cherry picked from commit 5a011f5999)
This commit is contained in:
committed by
Rémi Verschelde
parent
dad7502b8a
commit
5569d4d2de
@@ -12,7 +12,7 @@
|
||||
yield(get_tree().create_timer(1.0), "timeout")
|
||||
print("Timer ended.")
|
||||
[/codeblock]
|
||||
The timer will be automatically freed after its time elapses, so be aware that any reference you might have kept to it will become invalid.
|
||||
The timer will be dereferenced after its time elapses. To preserve the timer, you can keep a reference to it. See [Reference].
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
|
||||
Reference in New Issue
Block a user