浏览代码

Merge pull request #98438 from BrianBHuynh/master

Document the differences between GDScript and GlobalScope
Thaddeus Crews 10 月之前
父节点
当前提交
ab4de57904
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      doc/classes/@GlobalScope.xml
  2. 2 2
      modules/gdscript/doc_classes/@GDScript.xml

+ 1 - 1
doc/classes/@GlobalScope.xml

@@ -6,7 +6,7 @@
 	<description>
 	<description>
 		A list of global scope enumerated constants and built-in functions. This is all that resides in the globals, constants regarding error codes, keycodes, property hints, etc.
 		A list of global scope enumerated constants and built-in functions. This is all that resides in the globals, constants regarding error codes, keycodes, property hints, etc.
 		Singletons are also documented here, since they can be accessed from anywhere.
 		Singletons are also documented here, since they can be accessed from anywhere.
-		For the entries related to GDScript which can be accessed in any script see [@GDScript].
+		For the entries that can only be accessed from scripts written in GDScript, see [@GDScript].
 	</description>
 	</description>
 	<tutorials>
 	<tutorials>
 		<link title="Random number generation">$DOCS_URL/tutorials/math/random_number_generation.html</link>
 		<link title="Random number generation">$DOCS_URL/tutorials/math/random_number_generation.html</link>

+ 2 - 2
modules/gdscript/doc_classes/@GDScript.xml

@@ -4,8 +4,8 @@
 		Built-in GDScript constants, functions, and annotations.
 		Built-in GDScript constants, functions, and annotations.
 	</brief_description>
 	</brief_description>
 	<description>
 	<description>
-		A list of GDScript-specific utility functions and annotations accessible from any script.
-		For the list of the global functions and constants see [@GlobalScope].
+		A list of utility functions and annotations accessible from any script written in GDScript.
+		For the list of global functions and constants that can be accessed in any scripting language, see [@GlobalScope].
 	</description>
 	</description>
 	<tutorials>
 	<tutorials>
 		<link title="GDScript exports">$DOCS_URL/tutorials/scripting/gdscript/gdscript_exports.html</link>
 		<link title="GDScript exports">$DOCS_URL/tutorials/scripting/gdscript/gdscript_exports.html</link>