classref: Sync with current master branch (4c3dc26)

This commit is contained in:
Godot Organization
2023-09-28 11:42:41 +00:00
parent 5f8512fc20
commit ec62d34434
75 changed files with 2739 additions and 3244 deletions

View File

@@ -77,6 +77,8 @@ Methods
+---------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`instance_has<class_Script_method_instance_has>` **(** :ref:`Object<class_Object>` base_object **)** |const| |
+---------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`is_abstract<class_Script_method_is_abstract>` **(** **)** |const| |
+---------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`is_tool<class_Script_method_is_tool>` **(** **)** |const| |
+---------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`reload<class_Script_method_reload>` **(** :ref:`bool<class_bool>` keep_state=false **)** |
@@ -245,6 +247,18 @@ Returns ``true`` if ``base_object`` is an instance of this script.
----
.. _class_Script_method_is_abstract:
.. rst-class:: classref-method
:ref:`bool<class_bool>` **is_abstract** **(** **)** |const|
Returns ``true`` if the script is an abstract script. An abstract script does not have a constructor and cannot be instantiated.
.. rst-class:: classref-item-separator
----
.. _class_Script_method_is_tool:
.. rst-class:: classref-method