mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
Clarify class keyword usage (#7741)
* Clarify class keyword usage * Added reference link for class_name as well --------- Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This commit is contained in:
@@ -173,9 +173,9 @@ in case you want to take a look under the hood.
|
||||
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| return | Returns a value from a function. |
|
||||
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| class | Defines a class. |
|
||||
| class | Defines an inner class. See `Inner classes`_. |
|
||||
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| class_name | Defines the script as a globally accessible class with the specified name. |
|
||||
| class_name | Defines the script as a globally accessible class with the specified name. See `Registering named classes`_. |
|
||||
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| extends | Defines what class to extend with the current class. |
|
||||
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user