瀏覽代碼

Changed TYPE_FLOAT to TYPE_REAL

Wilson E. Alvarez 6 年之前
父節點
當前提交
0ca14438ae
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      getting_started/scripting/gdscript/gdscript_basics.rst

+ 1 - 1
getting_started/scripting/gdscript/gdscript_basics.rst

@@ -895,7 +895,7 @@ There are 6 pattern types:
     matches the contents of a variable/enum ::
 
         match typeof(x):
-            TYPE_FLOAT:
+            TYPE_REAL:
                 print("float")
             TYPE_STRING:
                 print("text")