You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/classes/Object.xml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -824,6 +824,14 @@
824
824
Returns the name of the translation domain used by [method tr] and [method tr_n]. See also [TranslationServer].
825
825
</description>
826
826
</method>
827
+
<methodname="has_connections"qualifiers="const">
828
+
<returntype="bool" />
829
+
<paramindex="0"name="signal"type="StringName" />
830
+
<description>
831
+
Returns [code]true[/code] if any connection exists on the given [param signal] name.
832
+
[b]Note:[/b] In C#, [param signal] must be in snake_case when referring to built-in Godot methods. Prefer using the names exposed in the [code]SignalName[/code] class to avoid allocating a new [StringName] on each call.
0 commit comments