mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
completed-signal is emitted by all GDScriptFunctionStates of a coroutine now, allowing to yield for completion of a function with more than one yield inside.
This commit is contained in:
parent
cd1d1f5545
commit
3dfef37628
2 changed files with 17 additions and 4 deletions
|
@ -234,6 +234,7 @@ class GDScriptFunctionState : public Reference {
|
|||
GDScriptFunction *function;
|
||||
GDScriptFunction::CallState state;
|
||||
Variant _signal_callback(const Variant **p_args, int p_argcount, Variant::CallError &r_error);
|
||||
Ref<GDScriptFunctionState> previous_state;
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue