mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
GDScript: Add validation for @export_node_path annotation arguments
Co-authored-by: George Marques <george@gmarqu.es>
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user