2017-09-12 20:42:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2021-04-26 11:14:51 +00:00
|
|
|
<class name="VisualScriptYieldSignal" inherits="VisualScriptNode" version="3.4">
|
2017-09-12 20:42:36 +00:00
|
|
|
<brief_description>
|
2020-10-12 17:37:50 +00:00
|
|
|
A Visual Script node yielding for a signal.
|
2017-09-12 20:42:36 +00:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2020-10-12 17:37:50 +00:00
|
|
|
[VisualScriptYieldSignal] will pause the function execution until the provided signal is emitted.
|
2017-09-12 20:42:36 +00:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 10:38:01 +00:00
|
|
|
<member name="base_type" type="String" setter="set_base_type" getter="get_base_type" default=""Object"">
|
2020-10-12 17:37:50 +00:00
|
|
|
The base type to be used when [member call_mode] is set to [constant CALL_MODE_INSTANCE].
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
2019-06-29 10:38:01 +00:00
|
|
|
<member name="call_mode" type="int" setter="set_call_mode" getter="get_call_mode" enum="VisualScriptYieldSignal.CallMode" default="0">
|
2020-10-12 17:37:50 +00:00
|
|
|
[code]call_mode[/code] determines the target object to wait for the signal emission. See [enum CallMode] for options.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
2019-06-29 19:22:15 +00:00
|
|
|
<member name="node_path" type="NodePath" setter="set_base_path" getter="get_base_path">
|
2020-10-12 17:37:50 +00:00
|
|
|
The node path to use when [member call_mode] is set to [constant CALL_MODE_NODE_PATH].
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
2019-06-29 10:38:01 +00:00
|
|
|
<member name="signal" type="String" setter="set_signal" getter="get_signal" default="""">
|
2020-10-12 17:37:50 +00:00
|
|
|
The signal name to be waited for.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
2017-11-24 22:16:30 +00:00
|
|
|
<constant name="CALL_MODE_SELF" value="0" enum="CallMode">
|
2020-10-12 17:37:50 +00:00
|
|
|
A signal from this [Object] will be used.
|
2017-09-12 20:42:36 +00:00
|
|
|
</constant>
|
2017-11-24 22:16:30 +00:00
|
|
|
<constant name="CALL_MODE_NODE_PATH" value="1" enum="CallMode">
|
2020-10-12 17:37:50 +00:00
|
|
|
A signal from the given [Node] in the scene tree will be used.
|
2017-09-12 20:42:36 +00:00
|
|
|
</constant>
|
2017-11-24 22:16:30 +00:00
|
|
|
<constant name="CALL_MODE_INSTANCE" value="2" enum="CallMode">
|
2020-10-12 17:37:50 +00:00
|
|
|
A signal from an instanced node with the given type will be used.
|
2017-09-12 20:42:36 +00:00
|
|
|
</constant>
|
|
|
|
</constants>
|
|
|
|
</class>
|