Browse Source

Update gdscript.rst

Mohammad Hadi Aliakbar 9 years ago
parent
commit
1ef73d6bfc
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").