GDScript: Add validation for @export_node_path annotation arguments

Co-authored-by: George Marques <george@gmarqu.es>
This commit is contained in:
Danil Alexeev
2023-07-26 18:26:48 +03:00
parent 202e4b2c1e
commit 5b4403c9a5
3 changed files with 32 additions and 5 deletions

View File

@@ -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">