Skip to content

Commit 19cabbc

Browse files
authored
Merge pull request #10853 from starsJuly/patch-1
Fix @export_custom hint format in gdscript_exports.rst
2 parents e87d427 + 2f4ad61 commit 19cabbc

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, "altitude: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)