mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with latest 4.0-dev
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
:github_url: hide
|
||||
|
||||
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
||||
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
|
||||
.. DO NOT EDIT THIS FILE, but the SceneTreeTimer.xml source instead.
|
||||
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
||||
|
||||
@@ -27,7 +27,7 @@ As opposed to :ref:`Timer<class_Timer>`, it does not require the instantiation o
|
||||
|
||||
func some_function():
|
||||
print("Timer started.")
|
||||
yield(get_tree().create_timer(1.0), "timeout")
|
||||
await get_tree().create_timer(1.0).timeout
|
||||
print("Timer ended.")
|
||||
|
||||
.. code-tab:: csharp
|
||||
|
||||
Reference in New Issue
Block a user