mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Add missing onready for NodePath usage in GDScript exports (#5694)
This commit is contained in:
@@ -121,7 +121,7 @@ Examples
|
||||
export(NodePath) var node_path
|
||||
# Do take note that the node itself isn't being exported -
|
||||
# there is one more step to call the true node:
|
||||
var node = get_node(node_path)
|
||||
onready var node = get_node(node_path)
|
||||
|
||||
# Resources
|
||||
|
||||
|
||||
Reference in New Issue
Block a user