瀏覽代碼

Merge pull request #10075 from KleidonBD/patch-1

Fix "or_greater"/"or_less" code example
Max Hilbrunner 10 月之前
父節點
當前提交
eee29a2911
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorials/scripting/gdscript/gdscript_exports.rst

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

@@ -164,7 +164,7 @@ The limits can be only for the slider if you add the hints "or_greater" and/or "
 
 ::
 
-    @export_range(0, 100, 1, "or_greater", "or_less")
+    @export_range(0, 100, 0.1, "or_greater", "or_less") var l
 
 .. TODO: Document other hint strings usable with export_range.