update _init() description
Specify details regarding required parameters.
This commit is contained in:
parent
16e96e52d3
commit
21fc3cbe81
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,8 @@
|
|||
<method name="_init" qualifiers="virtual">
|
||||
<return type="void" />
|
||||
<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.instantiate]) is used, then initialization will fail.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_notification" qualifiers="virtual">
|
||||
|
|
Loading…
Reference in a new issue