Skip to content

Commit 2f4ad61

Browse files
Update the @export_custom example in gdscript_exports.rst
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
1 parent ab6e738 commit 2f4ad61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/scripting/gdscript/gdscript_exports.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ For example, this exposes the ``altitude`` property with no range limits but a
475475

476476
::
477477

478-
@export_custom(PROPERTY_HINT_NONE, "suffix:m") var altitude: Vector3
478+
@export_custom(PROPERTY_HINT_NONE, "suffix:m") var altitude: float
479479

480480
The above is normally not feasible with the standard ``@export_range`` syntax,
481481
since it requires defining a range.

0 commit comments

Comments
 (0)