diff options
author | Danil Alexeev <danil@alexeev.xyz> | 2023-07-26 18:26:48 +0300 |
---|---|---|
committer | Danil Alexeev <danil@alexeev.xyz> | 2023-07-26 20:36:47 +0300 |
commit | 5b4403c9a5650e36feb11e45f91431eacfed4050 (patch) | |
tree | a8d22a9d90c599420ec3a3975cbab2a22e3db9b8 /modules/gdscript/doc_classes | |
parent | 202e4b2c1e7f8b25738b93d0e4d5066453d3edf3 (diff) | |
download | redot-engine-5b4403c9a5650e36feb11e45f91431eacfed4050.tar.gz |
GDScript: Add validation for `@export_node_path` annotation arguments
Co-authored-by: George Marques <george@gmarqu.es>
Diffstat (limited to 'modules/gdscript/doc_classes')
-rw-r--r-- | modules/gdscript/doc_classes/@GDScript.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/doc_classes/@GDScript.xml b/modules/gdscript/doc_classes/@GDScript.xml index 0c300eade4..9cc1fc0c31 100644 --- a/modules/gdscript/doc_classes/@GDScript.xml +++ b/modules/gdscript/doc_classes/@GDScript.xml @@ -533,6 +533,7 @@ [codeblock] @export_node_path("Button", "TouchScreenButton") var some_button [/codeblock] + [b]Note:[/b] The type must be a native class or a globally registered script (using the [code]class_name[/code] keyword) that inherits [Node]. </description> </annotation> <annotation name="@export_placeholder"> |