Browse Source

Add PackedScene example for resource hints

(cherry picked from commit 7837e4b1190300943168288fc745ea1ab3f84a22)
Rémi Verschelde 8 years ago
parent
commit
3efa2f5bb4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      reference/gdscript.rst

+ 1 - 0
reference/gdscript.rst

@@ -804,6 +804,7 @@ special export syntax is provided.
     # Export can also take a resource type to use as a hint
     # Export can also take a resource type to use as a hint
 
 
     export(Texture) var character_face
     export(Texture) var character_face
+    export(PackedScene) var scene_file
 
 
     # Integers and strings hint enumerated values
     # Integers and strings hint enumerated values