mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Sync with current master branch (f87858a8f)
This commit is contained in:
@@ -14,6 +14,8 @@ EditorScriptPicker
|
||||
|
||||
Godot editor's control for selecting the ``script`` property of a :ref:`Node<class_Node>`.
|
||||
|
||||
.. rst-class:: classref-introduction-group
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
@@ -21,25 +23,37 @@ Similar to :ref:`EditorResourcePicker<class_EditorResourcePicker>` this :ref:`Co
|
||||
|
||||
\ **Note:** You must set the :ref:`script_owner<class_EditorScriptPicker_property_script_owner>` for the custom context menu items to work.
|
||||
|
||||
.. rst-class:: classref-reftable-group
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------+---------------------------------------------------------------------+
|
||||
| :ref:`Node<class_Node>` | :ref:`script_owner<class_EditorScriptPicker_property_script_owner>` |
|
||||
+-------------------------+---------------------------------------------------------------------+
|
||||
.. table::
|
||||
:widths: auto
|
||||
|
||||
+-------------------------+---------------------------------------------------------------------+
|
||||
| :ref:`Node<class_Node>` | :ref:`script_owner<class_EditorScriptPicker_property_script_owner>` |
|
||||
+-------------------------+---------------------------------------------------------------------+
|
||||
|
||||
.. rst-class:: classref-section-separator
|
||||
|
||||
----
|
||||
|
||||
.. rst-class:: classref-descriptions-group
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
.. _class_EditorScriptPicker_property_script_owner:
|
||||
|
||||
- :ref:`Node<class_Node>` **script_owner**
|
||||
.. rst-class:: classref-property
|
||||
|
||||
+----------+-------------------------+
|
||||
| *Setter* | set_script_owner(value) |
|
||||
+----------+-------------------------+
|
||||
| *Getter* | get_script_owner() |
|
||||
+----------+-------------------------+
|
||||
:ref:`Node<class_Node>` **script_owner**
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
- void **set_script_owner** **(** :ref:`Node<class_Node>` value **)**
|
||||
- :ref:`Node<class_Node>` **get_script_owner** **(** **)**
|
||||
|
||||
The owner :ref:`Node<class_Node>` of the script property that holds the edited resource.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user