diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-23 23:25:55 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-23 23:25:55 +0200 |
commit | 73fdc30783dc09817d2fab6406d95accd489786a (patch) | |
tree | 615efb774b705b159b3522f5c74cceb09477333d /doc | |
parent | abfe8ba7d6639e8d8c0f9fa9924208bd34fe8ea7 (diff) | |
parent | 4def6b6fef4c3d2f7f0ccaa5be060f5e0cfd5f9d (diff) | |
download | redot-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.xml | 1 |
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"> |