You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
doc: Sync classref with current source
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
State of a function call after yielding.
|
||||
</brief_description>
|
||||
<description>
|
||||
Calling [method @GDScript.yield] within a function will cause that function to yield and return its current state as an object of this type. The yielded function call can then be resumed later by calling [method resume] on this state object.
|
||||
FIXME: Outdated docs as of GDScript rewrite in 4.0.
|
||||
Calling [code]yield[/code] within a function will cause that function to yield and return its current state as an object of this type. The yielded function call can then be resumed later by calling [method resume] on this state object.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
@@ -26,7 +27,7 @@
|
||||
</argument>
|
||||
<description>
|
||||
Resume execution of the yielded function call.
|
||||
If handed an argument, return the argument from the [method @GDScript.yield] call in the yielded function call. You can pass e.g. an [Array] to hand multiple arguments.
|
||||
If handed an argument, return the argument from the [code]yield[/code] call in the yielded function call. You can pass e.g. an [Array] to hand multiple arguments.
|
||||
This function returns what the resumed function call returns, possibly another function state if yielded again.
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user