summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2024-05-23 09:08:12 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2024-05-23 09:08:12 +0800
commit4def6b6fef4c3d2f7f0ccaa5be060f5e0cfd5f9d (patch)
treee81e3d5415dea9acf4ebe299717c6d448f16d532 /doc
parent8e2141eac534f6984bb0bdbcefbd17de27ae0993 (diff)
downloadredot-engine-4def6b6fef4c3d2f7f0ccaa5be060f5e0cfd5f9d.tar.gz
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">