浏览代码

remove article before plural noun from autoloads_versus_internal_nodes.rst autoloads_versus_internal_nodes.rst

remove 'a' from "share a variables"
Lukas Fletcher 11 月之前
父节点
当前提交
f0889ed8f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorials/best_practices/autoloads_versus_internal_nodes.rst

+ 1 - 1
tutorials/best_practices/autoloads_versus_internal_nodes.rst

@@ -87,7 +87,7 @@ limitation of static functions is that they can't reference member variables,
 non-static functions or ``self``.
 non-static functions or ``self``.
 
 
 Since Godot 4.1, GDScript also supports ``static`` variables using ``static var``.
 Since Godot 4.1, GDScript also supports ``static`` variables using ``static var``.
-This means you can now share a variables across instances of a class without
+This means you can now share variables across instances of a class without
 having to create a separate autoload.
 having to create a separate autoload.
 
 
 Still, autoloaded nodes can simplify your code for systems with a wide scope. If
 Still, autoloaded nodes can simplify your code for systems with a wide scope. If