Skip to content

Commit c63adb1

Browse files
committed
Add a note about _notification() being multilevel
1 parent 019ab87 commit c63adb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/classes/Object.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@
264264
[/csharp]
265265
[/codeblocks]
266266
[b]Note:[/b] The base [Object] defines a few notifications ([constant NOTIFICATION_POSTINITIALIZE] and [constant NOTIFICATION_PREDELETE]). Inheriting classes such as [Node] define a lot more notifications, which are also received by this method.
267+
[b]Note:[/b] Unlike other virtual methods, [method _notification] is called automatically for every extended script, so you should not use GDScript's [code]super[/code] and its equivalents in other languages to call the base implementation.
267268
</description>
268269
</method>
269270
<method name="_property_can_revert" qualifiers="virtual">

0 commit comments

Comments
 (0)