From ecf42e22352e81c55cbc123cf7ac349eab5fac35 Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Fri, 6 Aug 2021 21:01:00 +0300 Subject: Improve the inspector plugin documentation and remove a confusing statement --- doc/classes/EditorInspectorPlugin.xml | 7 ++++--- doc/classes/EditorProperty.xml | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/classes/EditorInspectorPlugin.xml b/doc/classes/EditorInspectorPlugin.xml index 085568466a..62fd7a1d6e 100644 --- a/doc/classes/EditorInspectorPlugin.xml +++ b/doc/classes/EditorInspectorPlugin.xml @@ -13,6 +13,7 @@ On each of these calls, the "add" functions can be called. + https://docs.godotengine.org/en/latest/tutorials/plugins/editor/inspector_plugins.html @@ -56,7 +57,7 @@ - Adds a custom control, not necessarily a property editor. + Adds a custom control, which is not necessarily a property editor. @@ -64,7 +65,7 @@ - Adds a property editor, this must inherit [EditorProperty]. + Adds a property editor for an individual property. The [code]editor[/code] control must extend [EditorProperty]. @@ -73,7 +74,7 @@ - Adds an editor that allows modifying multiple properties, this must inherit [EditorProperty]. + Adds an editor that allows modifying multiple properties. The [code]editor[/code] control must extend [EditorProperty]. diff --git a/doc/classes/EditorProperty.xml b/doc/classes/EditorProperty.xml index 41f42568ad..725b0ba8ff 100644 --- a/doc/classes/EditorProperty.xml +++ b/doc/classes/EditorProperty.xml @@ -47,14 +47,14 @@ - Override if you want to allow a custom tooltip over your property. + Must be implemented to provide a custom tooltip to the property editor. - Adds controls with this function if you want them on the bottom (below the label). + Puts the [code]editor[/code] control below the property label. The control must be previously added using [method Node.add_child]. -- cgit v1.2.3