Explorar o código

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

fogine %!s(int64=6) %!d(string=hai) anos
pai
achega
d2ac16935c
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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(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.