Update the @export_custom example in gdscript_exports.rst

Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
This commit is contained in:
starsJuly
2025-04-11 11:01:50 +08:00
committed by GitHub
parent ab6e73822a
commit 2f4ad61ef6

View File

@@ -475,7 +475,7 @@ For example, this exposes the ``altitude`` property with no range limits but a
::
@export_custom(PROPERTY_HINT_NONE, "suffix:m") var altitude: Vector3
@export_custom(PROPERTY_HINT_NONE, "suffix:m") var altitude: float
The above is normally not feasible with the standard ``@export_range`` syntax,
since it requires defining a range.