VisualScriptFunctionState
A Visual Script node representing a function state.
Description
VisualScriptFunctionState
is returned from VisualScriptYield and can be used to resume a paused function call.
Methods
void | connect_to_signal ( Object obj, String signals, Array args ) |
is_valid ( ) const | |
Method Descriptions
Connects this VisualScriptFunctionState
to a signal in the given object to automatically resume when it’s emitted.
- bool is_valid ( ) const
Returns whether the function state is valid.
Resumes the function to run from the point it was yielded.