瀏覽代碼

Update tutorials/shaders/shader_reference/shading_language.rst

Co-authored-by: tetrapod <[email protected]>
GlitchCode24 6 月之前
父節點
當前提交
619edd2cae
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorials/shaders/shader_reference/shading_language.rst

+ 1 - 1
tutorials/shaders/shader_reference/shading_language.rst

@@ -554,7 +554,7 @@ Godot Shading language supports the most common types of flow control:
     // `if`, `else if` and `else`.
     if (cond) {
 
-    } else if (cond) {
+    } else if (other_cond) {
 
     } else {