summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-02-28 01:57:34 +0100
committerkobewi <kobewi4e@gmail.com>2022-09-05 23:08:28 +0200
commita3309215c200dff1cb8930cbdf83dbc0cff6d491 (patch)
tree120a677c3c21e4f108cfc256b87db2067fec0024 /doc
parentb5c053321c89217b1cae0d4670d66a1af0c68bc8 (diff)
Improve handling of custom types
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/EditorPlugin.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/EditorPlugin.xml b/doc/classes/EditorPlugin.xml
index fdd3807b69..9271e38487 100644
--- a/doc/classes/EditorPlugin.xml
+++ b/doc/classes/EditorPlugin.xml
@@ -406,6 +406,7 @@
When a given node or resource is selected, the base type will be instantiated (e.g. "Node3D", "Control", "Resource"), then the script will be loaded and set to this object.
You can use the virtual method [method _handles] to check if your custom object is being edited by checking the script or using the [code]is[/code] keyword.
During run-time, this will be a simple object with a script so this function does not need to be called then.
+ [b]Note:[/b] Custom types added this way are not true classes. They are just a helper to create a node with specific script.
</description>
</method>
<method name="add_debugger_plugin">