Pārlūkot izejas kodu

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

fogine 6 gadi atpakaļ
vecāks
revīzija
d2ac16935c

+ 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.