Merge pull request #55643 from Calinou/doc-scenetreetimer-free-elapse-3.x

Document SceneTreeTimer being freed automatically when elapsed (3.x)
This commit is contained in:
Max Hilbrunner 2021-12-06 02:16:00 +01:00 committed by GitHub
commit 4c8cc2ab7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,7 @@
yield(get_tree().create_timer(1.0), "timeout") yield(get_tree().create_timer(1.0), "timeout")
print("Timer ended.") print("Timer ended.")
[/codeblock] [/codeblock]
The timer will be automatically freed after its time elapses.
</description> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>
@ -19,7 +20,7 @@
</methods> </methods>
<members> <members>
<member name="time_left" type="float" setter="set_time_left" getter="get_time_left"> <member name="time_left" type="float" setter="set_time_left" getter="get_time_left">
The time remaining. The time remaining (in seconds).
</member> </member>
</members> </members>
<signals> <signals>