Browse Source

Merge pull request #24 from mohaalak/patch-2

Update gdscript.rst
Rémi Verschelde 9 years ago
parent
commit
12dc0a6a2a
1 changed files with 4 additions and 1 deletions
  1. 4 1
      reference/gdscript.rst

+ 4 - 1
reference/gdscript.rst

@@ -744,7 +744,10 @@ variables:
 
 
     export(Color, RGB) var col  # Color is RGB
     export(Color, RGB) var col  # Color is RGB
     export(Color, RGBA) var col  # Color is RGBA
     export(Color, RGBA) var col  # Color is RGBA
-
+   
+    # another node in the scene can be exported too
+    
+    export(NodePath) var node
 It must be noted that even if the script is not being run while at the
 It must be noted that even if the script is not being run while at the
 editor, the exported properties are still editable (see below for
 editor, the exported properties are still editable (see below for
 "tool").
 "tool").