Click or drag to resize

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
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Object Resume(
	Object arg = null
)

Parameters

arg (Optional)
Type: SystemObject

[Missing <param name="arg"/> documentation for "M:Godot.GDScriptFunctionState.Resume(System.Object)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Godot.GDScriptFunctionState.Resume(System.Object)"]

See Also