瀏覽代碼

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

fogine 6 年之前
父節點
當前提交
d2ac16935c
共有 1 個文件被更改,包括 3 次插入0 次删除
  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.