Selaa lähdekoodia

document the ability which allows to export a Curve resource variable for godot editor from gdscript

fogine 6 vuotta sitten
vanhempi
commit
d2ac16935c
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      getting_started/scripting/gdscript/gdscript_basics.rst

+ 3 - 0
getting_started/scripting/gdscript/gdscript_basics.rst

@@ -1231,6 +1231,9 @@ special export syntax is provided.
 
 
     export(Texture) var character_face
     export(Texture) var character_face
     export(PackedScene) var scene_file
     export(PackedScene) var scene_file
+    # There are many resource types that can be used this way, try e.g.
+    # the following to list them:
+    export(Resource) var resource
 
 
     # Integers and strings hint enumerated values.
     # Integers and strings hint enumerated values.