From d298cceeaa751dbe7f4352e1acbddee4bf18f73c Mon Sep 17 00:00:00 2001 From: zacryol <60046681+zacryol@users.noreply.github.com> Date: Mon, 21 Mar 2022 09:13:32 -0600 Subject: [PATCH] update _init() description Specify details regarding required parameters. (cherry picked from commit 21fc3cbe8139b150047f5598760d12c65da90007) --- doc/classes/Object.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml index dd10daa5f67..efbae14b2b5 100644 --- a/doc/classes/Object.xml +++ b/doc/classes/Object.xml @@ -44,7 +44,8 @@ - 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.