Browse Source

Merge pull request #10853 from starsJuly/patch-1

Fix @export_custom hint format in gdscript_exports.rst
Matthew 4 months ago
parent
commit
19cabbcb00
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/scripting/gdscript/gdscript_exports.rst

+ 1 - 1
tutorials/scripting/gdscript/gdscript_exports.rst

@@ -475,7 +475,7 @@ For example, this exposes the ``altitude`` property with no range limits but a
 
 ::
 
-    @export_custom(PROPERTY_HINT_NONE, "altitude: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.