mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
classref: Sync with current master branch (2e7fc81)
This commit is contained in:
@@ -63,15 +63,15 @@ Methods
|
||||
.. table::
|
||||
:widths: auto
|
||||
|
||||
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`_run<class_EditorScript_private_method__run>` **(** **)** |virtual| |
|
||||
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`add_root_node<class_EditorScript_method_add_root_node>` **(** :ref:`Node<class_Node>` node **)** |
|
||||
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`EditorInterface<class_EditorInterface>` | :ref:`get_editor_interface<class_EditorScript_method_get_editor_interface>` **(** **)** |const| |
|
||||
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Node<class_Node>` | :ref:`get_scene<class_EditorScript_method_get_scene>` **(** **)** |const| |
|
||||
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------+
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------------------------------+
|
||||
| |void| | :ref:`_run<class_EditorScript_private_method__run>`\ (\ ) |virtual| |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------------------------------+
|
||||
| |void| | :ref:`add_root_node<class_EditorScript_method_add_root_node>`\ (\ node\: :ref:`Node<class_Node>`\ ) |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------------------------------+
|
||||
| :ref:`EditorInterface<class_EditorInterface>` | :ref:`get_editor_interface<class_EditorScript_method_get_editor_interface>`\ (\ ) |const| |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Node<class_Node>` | :ref:`get_scene<class_EditorScript_method_get_scene>`\ (\ ) |const| |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------------------------------+
|
||||
|
||||
.. rst-class:: classref-section-separator
|
||||
|
||||
@@ -86,7 +86,7 @@ Method Descriptions
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
void **_run** **(** **)** |virtual|
|
||||
|void| **_run**\ (\ ) |virtual|
|
||||
|
||||
This method is executed by the Editor when **File > Run** is used.
|
||||
|
||||
@@ -98,7 +98,7 @@ This method is executed by the Editor when **File > Run** is used.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
void **add_root_node** **(** :ref:`Node<class_Node>` node **)**
|
||||
|void| **add_root_node**\ (\ node\: :ref:`Node<class_Node>`\ )
|
||||
|
||||
Adds ``node`` as a child of the root node in the editor context.
|
||||
|
||||
@@ -112,7 +112,7 @@ Adds ``node`` as a child of the root node in the editor context.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`EditorInterface<class_EditorInterface>` **get_editor_interface** **(** **)** |const|
|
||||
:ref:`EditorInterface<class_EditorInterface>` **get_editor_interface**\ (\ ) |const|
|
||||
|
||||
**Deprecated:** :ref:`EditorInterface<class_EditorInterface>` is a global singleton and can be accessed directly by its name.
|
||||
|
||||
@@ -126,7 +126,7 @@ Returns the :ref:`EditorInterface<class_EditorInterface>` singleton instance.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`Node<class_Node>` **get_scene** **(** **)** |const|
|
||||
:ref:`Node<class_Node>` **get_scene**\ (\ ) |const|
|
||||
|
||||
Returns the Editor's currently active scene.
|
||||
|
||||
@@ -137,3 +137,4 @@ Returns the Editor's currently active scene.
|
||||
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
|
||||
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
|
||||
.. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
|
||||
.. |void| replace:: :abbr:`void (No return value.)`
|
||||
|
||||
Reference in New Issue
Block a user