Enchance descriptions of @GlobalScope/@GDScript

This commit is contained in:
Yuri Roubinsky 2021-11-25 14:24:09 +03:00
parent 4261fb3244
commit ce48604eb7
2 changed files with 6 additions and 4 deletions

View file

@ -1,13 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<class name="@GlobalScope" version="4.0"> <class name="@GlobalScope" version="4.0">
<brief_description> <brief_description>
Global scope constants and variables. Global scope constants and functions.
</brief_description> </brief_description>
<description> <description>
Global scope constants and variables. 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].
</description> </description>
<tutorials> <tutorials>
<link title="Random number generation">$DOCS_URL/tutorials/math/random_number_generation.html</link>
</tutorials> </tutorials>
<methods> <methods>
<method name="abs"> <method name="abs">

View file

@ -4,10 +4,10 @@
Built-in GDScript functions. Built-in GDScript functions.
</brief_description> </brief_description>
<description> <description>
List of core built-in GDScript functions. Math functions and other utilities. Everything else is provided by objects. (Keywords: builtin, built in, global functions.) A list of GDScript-specific utility functions accessed in any script.
For the list of the global functions and constants see [@GlobalScope].
</description> </description>
<tutorials> <tutorials>
<link title="Random number generation">$DOCS_URL/tutorials/math/random_number_generation.html</link>
</tutorials> </tutorials>
<methods> <methods>
<method name="Color8"> <method name="Color8">