summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-05-23 23:25:55 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-05-23 23:25:55 +0200
commit73fdc30783dc09817d2fab6406d95accd489786a (patch)
tree615efb774b705b159b3522f5c74cceb09477333d /doc
parentabfe8ba7d6639e8d8c0f9fa9924208bd34fe8ea7 (diff)
parent4def6b6fef4c3d2f7f0ccaa5be060f5e0cfd5f9d (diff)
downloadredot-engine-73fdc30783dc09817d2fab6406d95accd489786a.tar.gz
Merge pull request #92272 from timothyqiu/add-to-end
Explain `add_to_end` parameter of `add_property_editor()`
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/EditorInspectorPlugin.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/EditorInspectorPlugin.xml b/doc/classes/EditorInspectorPlugin.xml
index efa881591c..e5e6905cd2 100644
--- a/doc/classes/EditorInspectorPlugin.xml
+++ b/doc/classes/EditorInspectorPlugin.xml
@@ -80,6 +80,7 @@
<param index="2" name="add_to_end" type="bool" default="false" />
<description>
Adds a property editor for an individual property. The [param editor] control must extend [EditorProperty].
+ There can be multiple property editors for a property. If [param add_to_end] is [code]true[/code], this newly added editor will be displayed after all the other editors of the property whose [param add_to_end] is [code]false[/code]. For example, the editor uses this parameter to add an "Edit Region" button for [member Sprite2D.region_rect] below the regular [Rect2] editor.
</description>
</method>
<method name="add_property_editor_for_multiple_properties">