Document Object.connect() not supporting persistent connections with lambda functions
This commit is contained in:
parent
79603b2f28
commit
475e792a7b
1 changed files with 1 additions and 0 deletions
|
|
@ -1042,6 +1042,7 @@
|
|||
</constant>
|
||||
<constant name="CONNECT_PERSIST" value="2" enum="ConnectFlags">
|
||||
Persisting connections are stored when the object is serialized (such as when using [method PackedScene.pack]). In the editor, connections created through the Signals dock are always persisting.
|
||||
[b]Note:[/b] Connections to lambda functions (that is, when the function code is embedded in the [method connect] call) cannot be made persistent.
|
||||
</constant>
|
||||
<constant name="CONNECT_ONE_SHOT" value="4" enum="ConnectFlags">
|
||||
One-shot connections disconnect themselves after emission.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue