Backported: update _init() description, Specify details regarding required parameters. - zacryol - 3fe37f9635

This commit is contained in:
Relintai 2022-03-24 10:49:13 +01:00
parent 25cc327659
commit 7135d64036

View File

@ -42,7 +42,8 @@
<method name="_init" qualifiers="virtual"> <method name="_init" qualifiers="virtual">
<return type="void" /> <return type="void" />
<description> <description>
Called when the object is initialized. Called when the object is initialized in memory. Can be defined to take in parameters, that are passed in when constructing.
[b]Note:[/b] If [method _init] is defined with required parameters, then explicit construction is the only valid means of creating an Object of the class. If any other means (such as [method PackedScene.instance]) is used, then initialization will fail.
</description> </description>
</method> </method>
<method name="_notification" qualifiers="virtual"> <method name="_notification" qualifiers="virtual">