GDScriptFunctionStateResume Method |
Resume execution of the yielded function call.
If handed an argument, return the argument from the @GDScript.yield 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.
Namespace: Godot
public Object Resume( Object arg = null )
[Missing <param name="arg"/> documentation for "M:Godot.GDScriptFunctionState.Resume(System.Object)"]
[Missing <returns> documentation for "M:Godot.GDScriptFunctionState.Resume(System.Object)"]